Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt App on Raspberry Pi 2
Forum Updated to NodeBB v4.3 + New Features

Qt App on Raspberry Pi 2

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.0k Views 1 Watching
  • 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.
  • BlackMambaB Offline
    BlackMambaB Offline
    BlackMamba
    wrote on last edited by
    #1

    Hello,
    For now I have developped an application on windows with Qt creator.
    I would like to deploy this application on a raspberry pi.
    What is unclear to me is if I can just "compile" on windows with ARM target, etc ... or if I need to install Qt on the raspberry Pi and compile from there.
    Cheers

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rondog
      wrote on last edited by
      #2

      Normally you get the compiler tool chain for the target device and compile it on something more suitable (desktop computer).

      You could try the other route (compiling on the device) but I suspect you will find this a painful experience. I wouldn't recommend this unless it is very small and you have a compiler installed on the device (usually you don't).

      I don't have any suggestions for the tool chain (before you ask). I suspect there are GNU/Linux versions out there but I am not sure about Windows.

      You will probably need to compile Qt from source. I don't think there is a pre-compiled version for ARM.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        You can compile Qt on the Raspberry Pi 2 like you would on the version one, and it should be a bit quicker since the processor is a bit bigger. However it would be indeed faster to cross-compile Qt but you should consider doing it from a Linux virtual machine: it's less hassle to setup.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        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