Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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 official documentation to build from source including dependencies required: https://doc.qt.io/qt-6/windows-building.html Separately, install 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 :

...

Code Block
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.

...