mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-30 07:46:51 +08:00
20 lines
498 B
Plaintext
20 lines
498 B
Plaintext
|
sim_and_dev = false
|
||
|
!isEmpty(QT_VERSION):qtConfig(simulator_and_device): \
|
||
|
sim_and_dev = true
|
||
|
|
||
|
$$sim_and_dev|contains(QMAKE_MAC_SDK, ^$${device.sdk}.*): \
|
||
|
CONFIG += device $${device.sdk}
|
||
|
$$sim_and_dev|contains(QMAKE_MAC_SDK, ^$${simulator.sdk}.*): \
|
||
|
CONFIG += simulator $${simulator.sdk}
|
||
|
|
||
|
CONFIG += entrypoint
|
||
|
|
||
|
unset(sim_and_dev)
|
||
|
|
||
|
load(default_pre)
|
||
|
|
||
|
# Check for supported Xcode versions
|
||
|
!versionAtLeast(QMAKE_XCODE_VERSION, 4.3): \
|
||
|
error("This mkspec requires Xcode 4.3 or later")
|
||
|
|