... | ... | @@ -43,7 +43,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.4"` with `SDK_VER="10.13"` for 64-bit builds.
|
|
|
* `QT_VER="5.9.6"` with `SDK_VER="10.13"` 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`.
|
|
|
|
... | ... | @@ -51,7 +51,7 @@ You need Xcode with Command Line Tools in order to compile and build the package |
|
|
|
|
|
A working Qt5 installation is required (minimal version is 5.2.1). In order to be able to use the building scripts you are required to provide Qt in those paths `Qt-${QT_VER}-macx-clang-[32|64]-macosx${SDK_VER}-[shared|static]` where:
|
|
|
|
|
|
* `${QT_VER}` - version of the Qt framework (e.g. `5.7.1`, `5.9.4`, `5.10.1`, ...)
|
|
|
* `${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`, ...)
|
|
|
* `[shared|static]` - specifies whether Qt is compiled as static libraries (i.e. `static`) or as a framework (i.e. `shared`)
|
... | ... | @@ -73,7 +73,7 @@ QT_VER=5.7.1 ./scripts/build_osx_dmgs.sh -d -s 10.12 --i386 --shared |
|
|
```
|
|
|
or
|
|
|
``` shell
|
|
|
QT_VER=5.9.4 ./scripts/build_osx_dmgs.sh -d -s 10.13 --x86_64 --shared
|
|
|
QT_VER=5.9.6 ./scripts/build_osx_dmgs.sh -d -s 10.13 --x86_64 --shared
|
|
|
```
|
|
|
or the modification of any of those command to build the desired target.
|
|
|
|
... | ... | |