summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.pro
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2014-03-20 22:20:11 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2014-03-20 22:26:24 +0100
commitc18908d6bd493ea11c37df20dba3bc07d04539c2 (patch)
tree8943298e84d761a262dcd3dcdc4179573f9e3193 /rbutil/rbutilqt/rbutilqt.pro
parent06a2e7c3bb652bf0eb6a0c9c57801c5b8a449be1 (diff)
downloadrockbox-c18908d6bd493ea11c37df20dba3bc07d04539c2.tar.gz
rockbox-c18908d6bd493ea11c37df20dba3bc07d04539c2.tar.bz2
rockbox-c18908d6bd493ea11c37df20dba3bc07d04539c2.zip
OS X: update project file for Qt5 support.
- Qt5 doesn't support PPC anymore, so always build for x86 only. - Qt5 requires the use of the multimedia module (as Windows). Change-Id: I7d54faffe9d2fb557f55234ba7b81a508d92a38b
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.pro')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro16
1 files changed, 15 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index a0ff344fbb..10ac30d085 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -140,6 +140,9 @@ contains(QT_MAJOR_VERSION, 5) {
win32 {
QT += multimedia
}
+ macx {
+ QT += multimedia
+ }
}
dbg {
@@ -187,6 +190,12 @@ unix:!macx:static {
}
# if -config intel is specified use 10.5 SDK and don't build for PPC
+contains(QT_MAJOR_VERSION, 5) {
+ macx {
+ CONFIG += intel
+ message("Qt5 doesn't support PPC anymore, building x86 only")
+ }
+}
macx:!intel {
CONFIG += ppc
QMAKE_LFLAGS_PPC=-mmacosx-version-min=10.4 -arch ppc
@@ -195,7 +204,12 @@ macx:!intel {
}
macx:intel {
QMAKE_LFLAGS_X86=-mmacosx-version-min=10.5 -arch i386
- QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.5.sdk
+ contains(QT_MAJOR_VERSION, 5) {
+ QMAKE_MAC_SDK=macosx
+ }
+ !contains(QT_MAJOR_VERSION, 5) {
+ QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.5.sdk
+ }
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
}
macx {