The time for building the qt5 on native could takes hours (Some people talk about 24 hours). You still will need another computer to develop for qt5 (Otherwise, export the source code from PC and compile in rpi, but forget about debugging) You can install qt5 for the rpi, but the qtcreator will be for qt4 version. But why get the things complicated and try the effort for cross compiling?įrom my point of view, these are the advantages: Although, once the system in the rpi is configured, we also could copy the full system as an image). The second option has the advantage of using the latest version of everything, but we will not have an entire system on our PC, only the parts for compiling (Could be better having the full system directly on the PC. The first option could take us hours, and we will force to develop also in the rpi (Although, you also can develop on a PC, export the source code to rpi and compile there.). The tutorial from the Qt Wiki appears to be old, but anyway. Tutorial of reference How to cross compile QT for Raspberry Pi 3 on Linux (Ubuntu) for Beginners! and also this tutorial, Guide To Cross Compile Qt 5.4 for the Raspberry Pi. RaspberryPi2EGLFS.Ĭross compilation from a computer. More information hereĬross compile from a PC using the sysroot of the Rpi through SSH directly. ![]() ![]() I’ve found three methods to get the Qt libraries running on our Raspberry Pi:ĭownload the qt libraries in the rpi and compile in native (easiest method) See Native_Build_of_Qt5_on_a_Raspberry_Pi. How to cross compile Qt5 for Rpi3 on Linux
0 Comments
Leave a Reply. |