Help working on windows arm devices (QT6)
-
Hello, I need to make my app work on a windows on arm device.
With the switch to QT6, it seems that the windows 32 bit versions have disappeared.
At the same time, we now have a msvc2019_arm64 version (which is great).However, I am having some issues.
-
How do I compile for window arm64 on an intel based system? They do not seem to be a Qmake.exe or a winqtdeploy.exe files in the arm bin folder. and even if they were there, I am assuming that they would not run on an intel device.
-
How do I compile for windows arm64 on a windows arm64 system?
When I tried installing QT 6.2 through the online tool, I got errors during the install (could not find the QmakeOutputInstallerKey value on the installer object were the first ones, but then I got a number of other ones).
qt creator seems to be an intel based application and does not seem to run on my arm based laptop either.
Any help as to how to build for arm based windows devices?
Thanks,
Cyrille -
-
Hi,
This is mainly an educated guess but:
- there's likely a cross-compiler provided by MSVC
- qmake wise, you should be able to use the one from the x86_64 version and there is the win32-arm64-msvc mkspec that I suspect it geared toward that platform.
So I would go with setting up a kit in Qt Creator if not already available that uses that Qt build with the Visual Studio cross-compiler.
Hope it helps