No device matching linux-rasp-pi3-g++
-
hi, i am working on the cross compilation based on https://wiki.qt.io/RaspberryPi2EGLFS
at step no 10 after i run these 3 command lines below and i got the error.
git clone git://code.qt.io/qt/qtbase.git -b 5.6
cd qtbase
./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
Error: No device matching 'linux-rasp-pi3-g++'did i miss out anything?
-
@edwardy84 said in No device matching linux-rasp-pi3-g++:
cd qtbase
please check that you have a folder mkspecs/devices/linux-rasp-pi3-g++
If not, it means that you're using a Qt version (5.6) that didn't yet include mkspecs for such device (RPi 3).
BTW, is there a compelling reason to use that old version of Qt?
-
thanks for pointing out. it should be linux-rpi3-g++ or linux-rpi3-vc4-g++ for qt5.6 then.
no specific reason. just thought since i am using RPi3 older ver should have support.
-
@edwardy84 so if your issue is solved, please don't forget to mark your post as such.