~ubuntu-branches/ubuntu/wily/qtbase-opensource-src/wily

« back to all changes in this revision

Viewing changes to mkspecs/unsupported/macx-iossimulator-g++-legacy/qmake.conf

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 12:46:17 UTC
  • Revision ID: package-import@ubuntu.com-20130205124617-c8jouts182j002fx
Tags: upstream-5.0.1+dfsg
ImportĀ upstreamĀ versionĀ 5.0.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# qmake configuration for ios-simulator-g++
 
3
#
 
4
# Depends on:
 
5
#
 
6
#   QMAKE_IOS_XCODE_VERSION - set in mkspecs/common/ios/versions.conf
 
7
#
 
8
 
 
9
include(../../common/mac.conf)
 
10
include(../../common/gcc-base-ios.conf)
 
11
include(../../common/g++-macx.conf)
 
12
include(../../common/ios.conf)
 
13
include(../../common/ios/versions.conf)
 
14
include(../../common/ios/arch.conf)
 
15
include(../../common/ios/g++.conf)
 
16
include(../../common/ios/qmake.conf)
 
17
 
 
18
# Version check (g++ was discontinued at version 4.2)
 
19
!lessThan(QMAKE_IOS_XCODE_VERSION, "4.2"): error("This mkspec requires Xcode 4.1.x or earlier")
 
20
 
 
21
# iOS build tools
 
22
QMAKE_CC                = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
 
23
QMAKE_CXX               = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2
 
24
QMAKE_FIX_RPATH         = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/install_name_tool -id
 
25
QMAKE_AR                = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar cq
 
26
QMAKE_RANLIB            = /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ranlib -s
 
27
QMAKE_LINK              = $$QMAKE_CXX
 
28
QMAKE_LINK_SHLIB        = $$QMAKE_CXX
 
29
 
 
30
# Check that compiler is valid
 
31
!exists($$QMAKE_CXX): error("The version of Xcode installed on this system does not include the g++ 4.2 compiler")
 
32
 
 
33
load(qt_config)