Crosscompilation qt 5.12.5 on linux 64 for raspberry pi 2b
Unsolved
Installation and Deployment
-
Hello. While several unsuccessful attempts to compile gcc for pi on windows I decide to switch my os for linux ie. Debian 11 64bit. While I follow that https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/ blogpost in step 6 I get an error:
gmake: g++: No such file or directory gmake: *** [Makefile:245: main.o] Error 127
I sligthly modyfied configurationn arguments to :
./configure -release -opengl es2 -device linux-rpi2-g++ -device-option CROSS_COMPILE=~/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/sysroot -opensource -confirm-license -skip qtwayland -skip qtlocation -skip qtscript -make libs -prefix ~/qt5/targetDeploymentDirectory -extprefix ~/qt5/hostInstallationTools -hostprefix ~/qt5/hostInstallationDirectory -no-use-gold-linker -v -no-gbm