2012-11-23 12:26:50 +00:00
|
|
|
|
|
|
|
load(default_pre)
|
2013-05-08 10:21:05 +00:00
|
|
|
|
2013-10-25 15:20:05 +00:00
|
|
|
# In case Qt was built for a specific SDK
|
2016-05-23 16:07:22 +00:00
|
|
|
!contains(QT_CONFIG, simulator_and_device):contains(QMAKE_MAC_SDK, ^iphonesimulator.*): \
|
2013-10-25 15:20:05 +00:00
|
|
|
CONFIG += iphonesimulator
|
|
|
|
|
2013-05-08 10:21:05 +00:00
|
|
|
# Check for supported Xcode versions
|
|
|
|
lessThan(QMAKE_XCODE_VERSION, "4.3"): \
|
|
|
|
error("This mkspec requires Xcode 4.3 or later")
|
2014-01-16 18:43:07 +00:00
|
|
|
|
2016-05-23 16:07:22 +00:00
|
|
|
build_pass:iphonesimulator {
|
2014-01-16 18:43:07 +00:00
|
|
|
# For a iphonesimulator_and_iphoneos build all the config tests
|
|
|
|
# are based on the iPhoneOS ARM SDK, but we know that the simulator
|
|
|
|
# is i386 and that we support SSE/SSE2.
|
|
|
|
QT_ARCH = i386
|
|
|
|
QT_CPU_FEATURES.i386 = sse sse2
|
|
|
|
DEFINES += QT_COMPILER_SUPPORTS_SSE2
|
2014-07-30 14:56:33 +00:00
|
|
|
CONFIG -= neon
|
|
|
|
CONFIG += sse sse2
|
2014-01-16 18:43:07 +00:00
|
|
|
}
|