Step 5: Download Qt 5.8.0/Qt 5.6.1 sourceĬ:\SysGCC\qt-everywhere-opensource-src-5.8.0 Gcc would placed at C:/SysGCC/mingw32/bin/gcc.exe If the steps is not appear, then following the steps in, otherwise using the steps below instead Hope it's helpful, sorry if i'ts not the place. There should be different ways to make it work, maybe this is not the best one, but it works for me. Now, if you're configuration file has been well generated, launch "make & make install" (step 17.)Ĭopy the built qt from C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5 to your pi3 in /usr/local/qt5 (step 18 - end) qt-everywhere-opensource-src-5.6.1/configure -platform win32-g++ -xplatform linux-arm-gnueabi-g++ -release -device linux-rpi3-g++ -sysroot C:/SysGCC_RPi3/Raspberry/arm-linux-gnueabihf/sysroot -prefix /usr/local/qt5 -device-option CROSS_COMPILE=C:/SysGCC_RPi3/Raspberry/bin/arm-linux-gnueabihf-nomake examples -opensource -confirm-license PS2 : opengl and libxcb may have some link troubles, I removed them, I use linuxfbĮx : In my case, the cmd was. PS : you can add the "-nomake examples" in the configure cmd lines if you don't need them to save time Step 9 : check that gcc is linked to MinGW64/bin/gcc.exeįor step 12, change "linux-rasp-pi2-g++" to "linux-rpi3-g++" Run those cmd to update the needed libs : pacman -S make So download it, and install it in C:/SysGCC/MinGW64įor step 5., download qt-everywhere >= 5.6 (otherwise rpi3 won't be supported)įrom here, all the cmd line on the terminal must be done on msys2 MinGW64 !ĭownload MSYS2, install it in C:/SysGCC/MinGW64/msys2 WARNING : For step 3, you need to change MinGW32 with MinGW64 with gcc >= 4.9. I don't know if it's the place to write it, but for people who are interested in, here is how I did the cross compilation beetwee windows 8 and raspberry pi 3 (debian jessie).īased on that, here are the changes I made to make it work for the rpi3 : I've been looking for informations on how to configure the cross compilation on qt (windows) for the raspberry 3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |