... | ... | @@ -53,7 +53,7 @@ qmake DISABLE_VERSION_NOTIFICATION=1 datovka.pro |
|
|
|
|
|
Currently we use:
|
|
|
* `QT_VER="5.7.1"` with `SDK_VER="10.12"` for 32-bit builds,
|
|
|
* `QT_VER="5.9.6"` with `SDK_VER="10.13"` for 64-bit builds.
|
|
|
* `QT_VER="5.9.6"` with `SDK_VER="10.14"` for 64-bit builds.
|
|
|
|
|
|
You need Xcode with Command Line Tools in order to compile and build the package. Xcode usually supports two adjacent SDKs (e.g. 10.9 and 10.10). You need to obtain an older Xcode package to achieve older SDKs. Store the SDKs into the directory `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs`.
|
|
|
|
... | ... | @@ -65,7 +65,7 @@ A working Qt5 installation is required (minimal version is 5.2.1). In order to b |
|
|
|
|
|
* `${QT_VER}` - version of the Qt framework (e.g. `5.7.1`, `5.9.6`, `5.10.1`, ...)
|
|
|
* `[32|64]` - target architecture bits (`32` or `64`)
|
|
|
* `${SDK_VER}` - SDK version (e.g. `10.12`, `10.13`, ...)
|
|
|
* `${SDK_VER}` - SDK version (e.g. `10.12`, `10.13`, `10.14`...)
|
|
|
* `[shared|static]` - specifies whether Qt is compiled as static libraries (i.e. `static`) or as a framework (i.e. `shared`)
|
|
|
|
|
|
The build system does not support building of fat binaries containing both (32- and 64-bit binaries). Apple is anyway slowly pushing the users and developers towards 64 bits.
|
... | ... | @@ -85,7 +85,7 @@ QT_VER=5.7.1 ./scripts/build_macos_dmgs.sh -d -s 10.12 --i386 --shared |
|
|
```
|
|
|
or
|
|
|
``` shell
|
|
|
QT_VER=5.9.6 ./scripts/build_macos_dmgs.sh -d -s 10.13 --x86_64 --shared
|
|
|
QT_VER=5.9.6 ./scripts/build_macos_dmgs.sh -d -s 10.14 --x86_64 --shared
|
|
|
```
|
|
|
or the modification of any of those command to build the desired target.
|
|
|
|
... | ... | |