Unsolved How build QT 5.11.0 desktop with MSVC2017 ARM64 compiler?
-
Using MSVC 2017 15.7.3 arm64 console to compile qt 5.11.0,
"c:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsamd64_arm64.bat
configure.bat -confirm-license -opensource -release -static -force-debug-info -prefix d:/QT/5.11_bin_static_arm64 -nomake examples -nomake tests -opengl dynamic -platform win32-msvc
nmakeThen I saw a dialog shows "D:\QT\5.11_src\qtbase\bin\qmake.exe is not a correct Win32 application".
After check it, the qmake.exe is ARM64 exe.
How can I build it to support ARM64 Windows Desktop?
-
Hi and welcome to devnet,
Sounds like you would rather have to do a cross-compilation setup for your needs. I'd recommend asking that on the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.
-
@Miyu said in How build QT 5.11.0 desktop with MSVC2017 ARM64 compiler?:
-platform win32-msvc
So you need to cross compile to do that if your build system is not an ARM64 VS2017 desktop environment. With that option above you are telling it to use the x86 VS2017 platform which won't be compatible.
There are lots of posts with cross compiling examples on the forums here. Most have to do with Raspberry Pi's and such but it will give you the idea on how to do this.
Now whether Qt supports that configuration or not I have no idea. That's why @SGaist suggested you contact the mailing list. :)