Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem cross compiling Qt 5.12.1 on Windows for ARM v7 Cortex A9
Alexander Bauer last edited by Alexander Bauer
I need some help setting up a cross compiling environment. I'm trying to compile the QT framework to be able to develop on Windows with QtCreator and compile for my target device, which is a Linux System based on an ARMv7 Cortex A9 neon.
As I'm compiling the framework in MSYS2, I downloaded the qt-everywhere-src-5.12.1.tar.xv with linux style line endings (hope this is the correct one in this case). I'm trying to compile the framework with the following parameters:
../qt-everywhere-src-5.12.1/configure -platform win32-g++ -release -device linux-imx6-g++ -device-option CROSS_COMPILE=/d/work/HOST-x86_64-w64-mingw32/arm-cortexa9_neon-linux-gnueabihf/bin/arm-cortexa9_neon-linux-gnueabihf- -sysroot /d/work/HOST-x86_64-w64-mingw32/arm-cortexa9_neon-linux-gnueabihf/arm-cortexa9_neon-linux-gnueabihf/sysroot/ -prefix /usr/local/qt-5.12.1 -no-qml-debug -nomake examples -nomake tests -qt-xcb -v
I'm using mingw-w64-gcc provided by MSYS2 pacman to create the windows executable qmake.exe and a cross compiler for arm-cortexta9_neon_linux_gnueabihf.
When compiling with this parameters, qmake.exe is created properly (it can be executed), but then the process gets stuck either during or right after creating .qmake.stash. I'm not sure where exactly, but the last line written in MSYS2 is something like "INFO creating stash file .qmake.stash".
Am I doing something wrong?
Thanks in advance for any advice.