mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-22 19:00:04 +08:00
Update README.md
This commit is contained in:
parent
2fe929846c
commit
6542342758
15
README.md
15
README.md
@ -6,13 +6,24 @@ This is a set of build tools and required patches to build Qt yourself and distr
|
||||
|
||||
For macOS we currently distribute two binaries:
|
||||
|
||||
- Modern, compiled with [Qt 5.15.8](5.15.8) for macOS 10.13+. If you do not own a commercial license, you can still use [Qt 5.15.2](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).
|
||||
- Modern, compiled with [Qt 5.15.9](5.15.9) for macOS 10.13+. If you do not own a commercial license, you can still use [Qt 5.15.2](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](https://github.com/crystalidea/macdeployqt-universal).
|
||||
|
||||
- Legacy, compiled with [Qt 5.6.3](5.6.3) for macOS 10.7-10.12. The folder contains several macOS-related patches ([QTBUG-40583](https://bugreports.qt.io/browse/QTBUG-40583), [QTBUG-18624](https://bugreports.qt.io/browse/QTBUG-18624), [QTBUG-52536](https://bugreports.qt.io/browse/QTBUG-52536), [QTBUG-63451](https://bugreports.qt.io/browse/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](5.15.2) or [Qt 5.6.3](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 and [XCode 12](https://apps.apple.com/us/app/xcode/id497799835?mt=12) (not tried 13 just yet).
|
||||
Compiling your app with both modern and legacy Qt can be done on modern macOS and [XCode](https://apps.apple.com/us/app/xcode/id497799835?mt=12).
|
||||
|
||||
When compiling a project with Qt 5.6.3 on arm64 host machine some additional steps are required in your .pro file:
|
||||
|
||||
```bash
|
||||
# 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user