[Development] Support for Windows Arm64 Desktop Target

Thomas Miller thomaslmiller91 at gmail.com
Fri Jul 20 02:02:23 CEST 2018


I’m a dev at Microsoft and recently I’ve been experimenting with building a
Qt distribution that targets Arm64 Windows Desktop.

I wanted to know if changes to the Qt codebase to support an arm64 Windows
desktop app would be accepted into the project and if so, what it would
take to add this distribution as an option to the Qt installer?

I’ve had some success modifying the 5.10.1 codebase to build a distribution
that targets arm64 apps and I was able to build the notepad example on my
amd64 dev machine and run it on one of my arm64 devices.

Basically, I started with this patch:
https://gist.github.com/tycho/3ce679850a03a39d8c174ac05af56214 and then
modified the msvc makefile generator so that I could target arm64 desktop
cross platform. Like the arm winrt configuration but targeting arm64
desktop instead of arm Windows store.

I also modified windeployqt.exe to look at the architecture of the
specified binaries instead of just the address width, so we don’t package
amd64 dlls alongside arm64 executables.

I ported these changes (which I’m sure will require some iterations) to the
dev branch and am currently building them. The diff for that is here:
https://gist.github.com/thomaslmiller/b97bc7c7905f6e5fdfb93ee71e2a2fc5 in
case anyone wants to look at it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180719/30457e00/attachment.html>

More information about the Development mailing list