From 62e72dae36acd69659eeff0712aa5914dbbf02d1 Mon Sep 17 00:00:00 2001 From: kleuter Date: Wed, 25 Nov 2020 14:45:28 +0100 Subject: [PATCH] 5.15.2: macx.conf original --- 5.15.2/compile_mac.sh | 6 +++--- 5.15.2/compile_mac_static.sh | 23 +++++++++++++++++++++++ 5.15.2/qtbase/mkspecs/common/macx.conf | 25 +++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 5.15.2/compile_mac_static.sh create mode 100644 5.15.2/qtbase/mkspecs/common/macx.conf diff --git a/5.15.2/compile_mac.sh b/5.15.2/compile_mac.sh index 97e6c3b..64c0396 100644 --- a/5.15.2/compile_mac.sh +++ b/5.15.2/compile_mac.sh @@ -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 diff --git a/5.15.2/compile_mac_static.sh b/5.15.2/compile_mac_static.sh new file mode 100644 index 0000000..09a6cc9 --- /dev/null +++ b/5.15.2/compile_mac_static.sh @@ -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/* \ No newline at end of file diff --git a/5.15.2/qtbase/mkspecs/common/macx.conf b/5.15.2/qtbase/mkspecs/common/macx.conf new file mode 100644 index 0000000..d16b77a --- /dev/null +++ b/5.15.2/qtbase/mkspecs/common/macx.conf @@ -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)