diff options
Diffstat (limited to 'mkspecs/unsupported/macx-iosdevice-g++-legacy/qmake.conf')
-rw-r--r-- | mkspecs/unsupported/macx-iosdevice-g++-legacy/qmake.conf | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mkspecs/unsupported/macx-iosdevice-g++-legacy/qmake.conf b/mkspecs/unsupported/macx-iosdevice-g++-legacy/qmake.conf new file mode 100644 index 0000000000..5fcfb4a51d --- /dev/null +++ b/mkspecs/unsupported/macx-iosdevice-g++-legacy/qmake.conf @@ -0,0 +1,35 @@ +# +# qmake configuration for ios-device-g++ +# +# Depends on: +# +# QMAKE_IOS_XCODE_VERSION - set in mkspecs/common/ios/versions.conf +# + +include(../../common/mac.conf) +include(../../common/gcc-base-ios.conf) +include(../../common/g++-macx.conf) +include(../../common/ios.conf) +include(../../common/ios/versions.conf) +include(../../common/ios/g++.conf) +include(../../common/ios/qmake.conf) + +# Version check (g++ was discontinued at version 4.2, but user may have added it themselves) +!lessThan(QMAKE_IOS_XCODE_VERSION, "4.3"): error("This mkspec requires Xcode 4.2.x or earlier") + +# iOS build tools +QMAKE_CC = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 +QMAKE_CXX = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 +QMAKE_FIX_RPATH = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/install_name_tool -id +QMAKE_AR = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar cq +QMAKE_RANLIB = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ranlib -s +QMAKE_LINK = $$QMAKE_CXX +QMAKE_LINK_SHLIB = $$QMAKE_CXX + +# Check that compiler is valid +!exists($$QMAKE_CXX): error("The version of Xcode installed on this system does not include the g++ 4.2 compiler") + +load(qt_config) + +# Include after config is loaded to allow autodetection on GL/ES version +include(../../common/ios/arch.conf) |