Cross-compiling 5.7 on Windows Error
I want to cross compile Qt for my RPi 3 on Widnows and I'm a little stuck at step 12 right now. I tried this guide but had some issues at step 12.
step 12 : Now we can build the Windows tools. Create a directory (e.g. qt-build) and run the configuration script from there:
../qt-everywhere-opensource-src-5.5.0/configure -platform win32-g++ -xplatform linux-arm-gnueabi-g++ -release -opengl es2 -device linux-rasp-pi2-g++ -sysroot C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot -prefix /usr/local/qt5
make: *** [msvc_vcproj.o] Error 1
Thanks for helps.
I had the same problem like you described. I was building the Qt 5.7.1. from the GIT using the MinGW32 compiler on the x64 host computer. After search on the google I found following: From the x32 copilation there is no access to the x64 keys, as described here: https://social.msdn.microsoft.com/Forums/en-US/92f962d6-7f5e-4e62-ac0a-b8b0c9f552a3/issue-reading-x64-registry-keys?forum=netfx64bit
. So I supposed that the MinGW x64 should solve the problem. After I used the MinGW compiler from the following link: https://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-posix/seh/x64-4.8.1-release-posix-seh-rev5.7z/download
and updated the path to bin folder in the PATH env varaible the compilation runs perfekt. I also needed to clean the build before the configuration with this command: git submodule foreach --recursive "git clean -dfx"*.
I hope it helps, please feel free to correct me if I did/understand something wrongly
thank you. i will try