Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Post installing Qmake for new devices

    Installation and Deployment
    rpi raspberry pi desktop ubuntu ubuntu 16.04
    2
    2
    446
    Loading More Posts
    • 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
      Yalimyulad last edited by

      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.Hilk 1 Reply Last reply Reply Quote 0
      • J.Hilk
        J.Hilk Moderators @Yalimyulad last edited by J.Hilk

        @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

        Qt Needs YOUR vote: https://bugreports.qt.io/browse/QTQAINFRA-4121


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

        1 Reply Last reply Reply Quote 1
        • First post
          Last post