jellyfin-media-player icon indicating copy to clipboard operation
jellyfin-media-player copied to clipboard

Build binaries for Windows ARM64

Open AArnott opened this issue 3 years ago • 8 comments

Windows ARM64 devices are becoming more common. Running a media player under an x86 emulator consumes more battery than a natural arm64 build. Can you build and release arm64 binaries?

AArnott avatar Feb 08 '22 03:02 AArnott

I don’t think GitHub Actions even supports ARM on Windows… I don’t really know where to start with this, but help would be appreciated

iwalton3 avatar Feb 08 '22 03:02 iwalton3

You don't generally have to build on a Windows on ARM agent to build for ARM. If this were a .NET Core app (I guess it isn't), your build step just needs to be dotnet build -r win-arm64. This is apparently a C++ project. At least the Microsoft C++ compiler and linker can target ARM from an x86/x64 agent. I'm not sure about linux build tools, but I'd guess they could.

AArnott avatar Feb 08 '22 04:02 AArnott

This media player crashed every few minutes when I install the x86 build on arm and run under emulation. I'd be happy to test the arm64 build if you come up with one.

AArnott avatar Feb 08 '22 04:02 AArnott

an ARM64 client would be appreciated

Betonhaus avatar Dec 06 '23 06:12 Betonhaus

this isn't possible. https://www.qt.io/blog/qt-for-windows-on-arm @iwalton3 with your permission I think this should be closed as blocked by Qt, our unwillingness to build qt from source, and a lack of CI support.

sevenrats avatar Jan 05 '24 03:01 sevenrats

this isn't possible. https://www.qt.io/blog/qt-for-windows-on-arm @iwalton3 with your permission I think this should be closed as blocked by Qt, our unwillingness to build qt from source, and a lack of CI support.

So if someone was to build Qt from source for this project it would be possible?

Betonhaus avatar Jan 08 '24 20:01 Betonhaus

A third party packaged Qt5 and Qt6 for WoA on MSYS2/MinGW.

https://packages.msys2.org/groups/mingw-w64-clang-aarch64-qt5

https://packages.msys2.org/groups/mingw-w64-clang-aarch64-qt6

Just Install MSYS2 and uses CLANGARM64 shell/environment

Betonhaus avatar Feb 23 '24 23:02 Betonhaus

this isn't possible. https://www.qt.io/blog/qt-for-windows-on-arm @iwalton3 with your permission I think this should be closed as blocked by Qt, our unwillingness to build qt from source, and a lack of CI support.

So if someone was to build Qt from source for this project it would be possible?

Qt is actually providing prebuilt binaries for WoA but QtWebengine is not included. QtWebengine cannot be built with MINGW. Build with MSVC is possible but not easy.

minnyres avatar Mar 31 '24 07:03 minnyres