Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Toolchain for RPi / Raspbian
QtWS25 Last Chance

Toolchain for RPi / Raspbian

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt5raspberry picross-compiletoolchain
6 Posts 3 Posters 2.5k 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.
  • M Offline
    M Offline
    Mark81
    wrote on last edited by
    #1

    Hello! I want to use an RPi3 with Raspbian to run some Qt5 applications. Of course I want to develop and compile the code on my host PC, then transfer the binaries to the RPi and remote debugging my apps.

    I'm afraid the only way is to cross-compile Qt5 on my host pc, right?
    I mean, I cannot cross-compile my applications without cross-compile the toolchain first - I cannot rely on the debian packages for the target.

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      Zola
      wrote on last edited by
      #2

      Use linaro armhf toolchain. :-)

      M 1 Reply Last reply
      0
      • Z Zola

        Use linaro armhf toolchain. :-)

        M Offline
        M Offline
        Mark81
        wrote on last edited by
        #3

        @Zola
        "Use linaro armhf toolchain" to compile.... what? :)
        Do you mean to cross-compile Qt5 on my host PC for armhf?

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          Zola
          wrote on last edited by
          #4

          @Mark81

          Yes.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            deleted184
            wrote on last edited by
            #5

            The toolchain i use is Linaro (little endian).
            If i understand correctly, you want to cross-compile Qt5 librairies to be able to cross-compile Qt5 application
            on your PC and deploy on your Rpi (the application and the Qt5 librairies). Well it depends on which OS your PC is.

            • Your PC run a Linux distribution

            If you are using a Linux distribution i think this link can help : Qt Raspberry Pi Beginners Guide.

            It goes from cross-compiling Qt5 to configure QtCreator and i think it's a good point to start.

            • Your PC run Windows

            Well it's a tought situation but i've managed to do it starting with this : Build Qt5 for Rapsberry Pi on Windows.
            Contrary to this tutorial, i've used Linaro (which has a Windows version).I've also managed to configure QtCreator on Windows to build Qt5 Application for LinuxARM.
            So if you have any question don't hesitate, event if i think it requires a complete new topic.

            M 1 Reply Last reply
            0
            • D deleted184

              The toolchain i use is Linaro (little endian).
              If i understand correctly, you want to cross-compile Qt5 librairies to be able to cross-compile Qt5 application
              on your PC and deploy on your Rpi (the application and the Qt5 librairies). Well it depends on which OS your PC is.

              • Your PC run a Linux distribution

              If you are using a Linux distribution i think this link can help : Qt Raspberry Pi Beginners Guide.

              It goes from cross-compiling Qt5 to configure QtCreator and i think it's a good point to start.

              • Your PC run Windows

              Well it's a tought situation but i've managed to do it starting with this : Build Qt5 for Rapsberry Pi on Windows.
              Contrary to this tutorial, i've used Linaro (which has a Windows version).I've also managed to configure QtCreator on Windows to build Qt5 Application for LinuxARM.
              So if you have any question don't hesitate, event if i think it requires a complete new topic.

              M Offline
              M Offline
              Mark81
              wrote on last edited by
              #6

              @bignumb
              Thank you very much for the detailed answer.
              You've exactly got the point!

              My host PC runs Debian Linux so I will try to follow your first link.
              It's not the first time I cross-compile Qt5 but every time there is something to fix :)

              1 Reply Last reply
              0

              • Login

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