Compiling on Raspberry pi 3 - Raspbian Stretch

  • I have developed an entire program on the desktop using Qt 5.10.1, and intend to run the program on Raspberry pi 3 with Raspbian Stretch operating system. As this operating system is ARM Linux and not Intel Linux it is incredibly difficult (maybe impossible?) to configure the Qt creator with kits necessary for compiling code, and I cannot find any working information for cross-compilation from windows Qt 5.10.1 to Raspberry Pi 3 - Raspbian Stretch.

    Please help either with trying to set up proper compilation on the Pi or with linking material, explaining in detail how to cross-compile to the pi.

  • Moderators

    This guide has all the info: It works for 5.10.1 and has instructions how to set up Qt Creator.

    Since you are using RPI3, consider configuring Qt with vc4 mkspecs: -device linux-rasp-pi3-vc4-g++

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.