500c116ced
This will stop working with the next commit, which merges all basic x86 SIMD intrinsics into one configure test. As a result, linking almost anything graphical on iOS (which is almost everything) causes the linker to fail with undefined references to SIMD-optimized versions that didn't get compiled. Change-Id: Ib42b3adc93bf4d43bd55fffd16c288f4104a6ccc Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
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")
|
|
|