Qt

 

Qt is a cross-platform application development framework for desktop, embedded, and mobile.

Status

  • QT for Windows has enabled support for Arm architecture from Qt v6.2. Installers are available from their official website.

    • You can install it easily using aqt (does not need a Qt account)
      ./aqt.exe install-qt windows desktop 6.5.0 win64_msvc2019_arm64

    • Binaries are hosted here for 6.2.0.

  • Qt is still in Technical Preview for Windows Arm64. Long term support is expected from Qt 6.8.(Expected to be released in Sept 2024)

  • Qt can be compiled with LLVM (clang-cl) and MSVC compiler. Qt 6.2 has a known issue when compiled with MSVC. Recommended to use Qt 6.3.1 and above if MSVC compiler is required.

  • Currently, QT Technical Preview only provides cross compilation on x64 for WoA target.

  • Qt 5.15 can be built from sources (no binary available) by applying this patch and instructions (uses jom instead of cmake for build). Note: For native compilation, no patch is needed (only for cross compilation).

Build from Source

Qt is most popularly installed as binary from their official download page, but may also be compiled from source. Community builds recommend MSYS2 for building Qt.

Install the MSYS2 build dependencies, needed for Qt :

pacman -S mingw-w64-x86_64-headers-git

Main commands to build from source on a windows arm64 machine

git clone https://code.qt.io/qt/qt5.git qt6 cd qt6 perl init-repository mkdir qt6-build cd qt6-build ..\configure.bat -prefix C:\path\to\install cmake --build . cmake --install .

Qt official build documentation could be found athttps://doc.qt.io/qt-6/windows-building.html

Binary Availability

Refers the Qt documentation page here: https://doc.qt.io/qt-6/windows.html for the most up to date information. The page also has links to the Qt installer.