Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Post installing Qmake for new devices

Post installing Qmake for new devices

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
rpiraspberry pidesktopubuntuubuntu 16.04
2 Posts 2 Posters 864 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Yalimyulad
    wrote on 13 Feb 2020, 00:06 last edited by
    #1

    Hello, my first post here.
    I am wondering if it is possible to somehow add a Qmake to my existing QTcreator setup on a Ubuntu Desktop, for a raspberry pi device?

    I can compile for desktop and Android, but now I wish to cross-compile using my desktop and deploying to my raspberry pi using SSH.

    I have everything setup without errors except for Qmake.
    Kits, debuggers, SSH, all working.

    My raspberry pi has QTcreator setup correctly and I can compile on it but it takes many hours.

    Is it possible to somehow copy the Qmake I have built from raspberry pi to my desktop? Or do I have to compile a new QT on desktop to include armhf?

    My setup is:
    Desktop Ubuntu 16.04 64bit
    QTcreator 5.13
    Raspberry pi2 using Raspbian Buster
    Qt creator 5.11

    Thanks, I hope I made some logic

    J 1 Reply Last reply 13 Feb 2020, 06:59
    0
    • Y Yalimyulad
      13 Feb 2020, 00:06

      Hello, my first post here.
      I am wondering if it is possible to somehow add a Qmake to my existing QTcreator setup on a Ubuntu Desktop, for a raspberry pi device?

      I can compile for desktop and Android, but now I wish to cross-compile using my desktop and deploying to my raspberry pi using SSH.

      I have everything setup without errors except for Qmake.
      Kits, debuggers, SSH, all working.

      My raspberry pi has QTcreator setup correctly and I can compile on it but it takes many hours.

      Is it possible to somehow copy the Qmake I have built from raspberry pi to my desktop? Or do I have to compile a new QT on desktop to include armhf?

      My setup is:
      Desktop Ubuntu 16.04 64bit
      QTcreator 5.13
      Raspberry pi2 using Raspbian Buster
      Qt creator 5.11

      Thanks, I hope I made some logic

      J Offline
      J Offline
      J.Hilk
      Moderators
      wrote on 13 Feb 2020, 06:59 last edited by J.Hilk
      #2

      @Yalimyulad said in Post installing Qmake for new devices:

      Is it possible to somehow copy the Qmake I have built from raspberry pi to my desktop?

      Nothing is physically stopping you, but it won't work.

      qmake is created and specific to the Qt FrameWork/Compiler used for that framework.
      The compiler on your pi is not the same as the one you would use for cross compiling

      If you want to really cross compile for the Pi , you will have to jump through some loops.
      There are some guides out there for example this wiki entries

      https://wiki.qt.io/Raspberry_Pi_Beginners_Guide
      https://wiki.qt.io/RaspberryPi2EGLFS


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      1

      1/2

      13 Feb 2020, 00:06

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved