Compiling Qt6.5 for Raspberry Pi Zero for cross compiling
-
Hello everyone!
I have faced with the following question: when I try to compile Qt6.5 for Raspberry arm's processor, everything goes fine (I have downloaded Qt's sources, appropriate arm's compiler, rsyn sysroots and etc). After compiling Qt I try to add it into Qt Creator and it's been found well. Nevertheless it is detected with ABI
x86-linux-generic-elf-64bit
when mkspec isdevices/linux-rasp-pi-g++
therefore I can't add this Qt's version to kit with appropriate arm's compiler. What am I doing wrong? Should ABI the linux-rasp-pi-g++ king? I use the following configure line (one of the multiply cases that I have tried, with different arm's compilers, flags and so on) :../qt-everywhere-src-6.5.0/configure -release -no-opengl -no-eglfs -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=~/rpi/tools/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/rpi/sysroot -prefix /usr/local/qt6.5 -extprefix ~/rpi/qt6.5 -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtwebengine -nomake tests -make libs -pkg-config -no-use-gold-linker
-
Update: I can compile 5.15.2 in the same way and the ABI is correct (arm-linux-generic-elf-32bit). So the question is: can qt 6.5.0 be compiled for ARMv6 32 bit? Or maybe any addition things should be done?