... | ... | @@ -64,8 +64,9 @@ qmake DISABLE_VERSION_NOTIFICATION=1 datovka.pro |
|
|
### macOS/OS X
|
|
|
|
|
|
Currently we use:
|
|
|
* `QT_VER="5.7.1"` with `SDK_VER="10.12"` for 32-bit builds,
|
|
|
* `QT_VER="5.15.2"` with `SDK_VER="13.1"` for 64-bit builds.
|
|
|
* `QT_VER="5.7.1"` with `SDK_VER="10.12"` for 32-bit Intel builds,
|
|
|
* `QT_VER="5.15.2"` with `SDK_VER="13.1"` for 64-bit Intel builds.
|
|
|
* `QT_VER="6.6.3"` with `SDK_VER="14.5"` for 64-bit ARM 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`.
|
|
|
|
... | ... | @@ -99,6 +100,24 @@ Once the source archive is available use the `-v` parameter to pass the package |
|
|
> QT_VER=5.7.1 ./scripts/build_macos_dmgs.sh -s 10.12 --i386 --shared -v 4.15.1.9999.20200716.140039.90bd2fb92783468f -d
|
|
|
```
|
|
|
|
|
|
#### Datovka-4.24.1 and Newer
|
|
|
|
|
|
The building scripts have been modified. There is no need to specify the SDK version now.
|
|
|
But if you choose to specify the SDK version then you must do it both when compiling libdatovka libraries and the datovka package.
|
|
|
|
|
|
In order to build libdatovka use the command:
|
|
|
``` shell
|
|
|
./scripts/build_libdatovka_macos.sh --arm64 # You may use also --x86_64 or --i386
|
|
|
```
|
|
|
The script also replaces *@rpath* entries.
|
|
|
|
|
|
In order to build datovka, you must now specify path to the `qmake` executable.
|
|
|
If it is not specified it is taken from your *PATH*. E. g.:
|
|
|
``` shell
|
|
|
QMAKE=/usr/local/Qt-6.5.3-macx-clang-arm64-macosx14.5-shared/bin/qmake ./scripts/build_macos_dmgs.sh -d --arm64 --shared
|
|
|
```
|
|
|
The `-C` option has been added if you want to continue with the compilation after encountering and fixing an error.
|
|
|
|
|
|
#### Datovka-4.16.0 and Newer
|
|
|
|
|
|
The building procedure is the same as for Datovka-4.10.2 but libdatovka is required.
|
... | ... | |