Go to file
2022-07-09 14:07:40 +02:00
5.6.3 scripts fix 2021-11-22 10:28:19 +01:00
5.15.2 Add files via upload 2022-01-07 13:31:53 +01:00
5.15.8 qt 5.15.8 fix build on apple silicon 2022-03-29 00:48:54 +02:00
5.15.9 5.15.9 - another fix for https://bugreports.qt.io/browse/QTBUG-98483 2022-05-03 15:03:53 +02:00
5.15.10 5.15.10 - macOS Monterey detection, backport of b3dc0fec2b 2022-07-09 14:07:40 +02:00
6.2.3 Revert "6.2.3 qtcompat module without qdeclarative dependencies" 2022-02-17 15:14:17 +01:00
6.3.0 5.15.10 initial folder structure 2022-07-09 14:01:55 +02:00
README.md Update README.md 2022-04-26 11:57:21 +02:00

Qt build tools and patches

This is a set of build tools and required patches to build Qt yourself and distribute it along with your app on macOS and Windows.

macOS

For macOS we currently distribute two binaries:

  • Modern, compiled with Qt 5.15.9 for macOS 10.13+. If you do not own a commercial license, you can still use Qt 5.15.2, the folder contains number of mostly macOS-related patches already applied in order to be compiled and used normally on modern macOS versions (e.g. Big Sur or Monterey). Building universal binaries for both x86_64 & Apple Silicon with Qt 5.15.2 is tricky, but possible.

  • Legacy, compiled with Qt 5.6.3 for macOS 10.7-10.12. The folder contains several macOS-related patches (QTBUG-40583, QTBUG-18624, QTBUG-52536, QTBUG-63451 ) already applied in order to be compiled and used normally. For compilation we use macOS 10.13 and XCode 8.

To apply patches and compile Qt the same as we do, simply copy the contents of the folder (Qt 5.15.2 or Qt 5.6.3) to the official Qt source tree (overwriting existing files of cause).

Compiling your app with both modern and legacy Qt can be done on modern macOS with XCode.

When compiling a project with Qt 5.6.3 on arm64 host machine some additional steps are required in your .pro file:

# compiler flags:
QMAKE_CXXFLAGS += "-arch x86_64"
QMAKE_CFLAGS += "-arch x86_64"
QMAKE_LFLAGS += "-arch x86_64"
# linker flags, required to support 10.7, otherwise minimum deployment target is 10.9
QMAKE_LFLAGS += "-stdlib=libc++"

Windows

On Windows you need VS2019 Community Edition and Perl. QtNetwork module is compiled using openssl-1.1.1k which is pre-compiled but once you delete the folder, it will be compiled again.