5.15.2: macx.conf original

This commit is contained in:
kleuter 2020-11-25 14:45:28 +01:00
parent 58e7c3b043
commit 62e72dae36
3 changed files with 51 additions and 3 deletions

View File

@ -6,17 +6,17 @@ cd qtbase
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
make -j 12
make -j 16
echo maki | sudo -S sudo make install
cd ../qttools
qmake
make -j 12
make -j 16
echo maki | sudo -S sudo make install
cd ../qtmacextras
qmake
make -j 12
make -j 16
echo maki | sudo -S sudo make install
cd /usr/local

View File

@ -0,0 +1,23 @@
#!/bin/bash
export PATH=$PATH:$(pwd)/qtbase/bin
cd qtbase
./configure -static -release -ltcg -optimize-size -no-pch -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.2-static
make -j 16
echo maki | sudo -S sudo make install
cd ../qttools
qmake
make -j 16
echo maki | sudo -S sudo make install
cd ../qtmacextras
qmake
make -j 16
echo maki | sudo -S sudo make install
cd /usr/local
zip -r ~/Desktop/qt5.15.2_mac.zip Qt-5.15.2-static/*

View File

@ -0,0 +1,25 @@
#
# qmake configuration for common OS X
#
QMAKE_PLATFORM += macos osx macx
QMAKE_MAC_SDK = macosx
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13
QMAKE_APPLE_DEVICE_ARCHS = x86_64
# Should be 10.15, but as long as the CI builds with
# older SDKs we have to keep this.
QT_MAC_SDK_VERSION_MIN = 10.14
QT_MAC_SDK_VERSION_MAX = 10.15
device.sdk = macosx
device.target = device
device.dir_affix = $${device.sdk}
device.CONFIG = $${device.sdk}
device.deployment_identifier = $${device.sdk}
QMAKE_LIBS_VULKAN =
include(mac.conf)