LMMS / lmms

Cross-platform music production software
https://lmms.io
GNU General Public License v2.0
8.13k stars 1.01k forks source link

ARM64 windows build #5625

Open drbree82 opened 4 years ago

drbree82 commented 4 years ago

Hi,

Apologies if this sounds a bit #choosingbeggars but is someone able to compile for ARM64 windows?

I'm still pretty new to C++ and can only compile in linux environments but was hoping to see how this runs on the Surface Pro X.

If this isn't appropriate and someone closes, I understand.

uthidata commented 4 years ago

It seems that Qt itself does not support ARM64 except for UWP apps so I think it's not possible right now.

SecondFlight commented 4 years ago

This is most likely possible at least. If you don't want to build for UWP then it will probably involve a custom build of Qt. I suspect most active devs currently have other priorities in the project, but we welcome contributions!

tresf commented 5 months ago

The situation has improved since this original question was asked. msys2 has arm64 ports of qt5 and qt6 and Qt has official publications about developing, however to summarize the current status (quoting):

"Qt basically works natively on Windows on ARM. It is usable to build and run native Qt applications for your ARM64 devices but you will have to build Qt yourself. We, the Qt Company, still have some work to do to make the developer experience come up to par with the rest of our offering though." [...]

Source: https://www.qt.io/blog/qt-for-windows-on-arm

In addition to building or obtaining Qt for Windows ARM64, the dependencies will also need to be compiled to target the ARM64 architecture. Our dependency tool -- vcpkg -- does support arm64 targets: https://learn.microsoft.com/en-us/vcpkg/about/faq#which-platforms-can-i-target-with-vcpkg, although at time of writing this, no serious effort has been made to try this out.