c5192b300e
Commit 3c375a76a1
enabled SSE2 in Qt,
but we failed to build the files that implemented the SSE2 specific
drawhelpers and image functions. Since we know what the iOS simulator
supports and the platforms it runs on we can safely enable this
ourselves without it being based on a configure test.
Change-Id: I0cfc43de80068b89aa47c34ffa84ee1c1734886c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
20 lines
630 B
Plaintext
20 lines
630 B
Plaintext
|
|
load(default_pre)
|
|
|
|
# In case Qt was built for a specific SDK
|
|
!iphonesimulator_and_iphoneos:contains(QMAKE_MAC_SDK, ^iphonesimulator.*): \
|
|
CONFIG += iphonesimulator
|
|
|
|
# Check for supported Xcode versions
|
|
lessThan(QMAKE_XCODE_VERSION, "4.3"): \
|
|
error("This mkspec requires Xcode 4.3 or later")
|
|
|
|
iphonesimulator_and_iphoneos:iphonesimulator {
|
|
# 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
|
|
}
|