mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-23 03:10:06 +08:00
5.15.2: macx.conf original
This commit is contained in:
parent
58e7c3b043
commit
62e72dae36
@ -6,17 +6,17 @@ cd qtbase
|
|||||||
|
|
||||||
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
||||||
|
|
||||||
make -j 12
|
make -j 16
|
||||||
echo maki | sudo -S sudo make install
|
echo maki | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
make -j 12
|
make -j 16
|
||||||
echo maki | sudo -S sudo make install
|
echo maki | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
make -j 12
|
make -j 16
|
||||||
echo maki | sudo -S sudo make install
|
echo maki | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
|
23
5.15.2/compile_mac_static.sh
Normal file
23
5.15.2/compile_mac_static.sh
Normal 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/*
|
25
5.15.2/qtbase/mkspecs/common/macx.conf
Normal file
25
5.15.2/qtbase/mkspecs/common/macx.conf
Normal 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)
|
Loading…
Reference in New Issue
Block a user