forked from len0rd/rockbox
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
This commit is contained in:
parent
06a2e7c3bb
commit
c18908d6bd
1 changed files with 15 additions and 1 deletions
|
@ -140,6 +140,9 @@ contains(QT_MAJOR_VERSION, 5) {
|
||||||
win32 {
|
win32 {
|
||||||
QT += multimedia
|
QT += multimedia
|
||||||
}
|
}
|
||||||
|
macx {
|
||||||
|
QT += multimedia
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dbg {
|
dbg {
|
||||||
|
@ -187,6 +190,12 @@ unix:!macx:static {
|
||||||
}
|
}
|
||||||
|
|
||||||
# if -config intel is specified use 10.5 SDK and don't build for PPC
|
# 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 {
|
macx:!intel {
|
||||||
CONFIG += ppc
|
CONFIG += ppc
|
||||||
QMAKE_LFLAGS_PPC=-mmacosx-version-min=10.4 -arch ppc
|
QMAKE_LFLAGS_PPC=-mmacosx-version-min=10.4 -arch ppc
|
||||||
|
@ -195,7 +204,12 @@ macx:!intel {
|
||||||
}
|
}
|
||||||
macx:intel {
|
macx:intel {
|
||||||
QMAKE_LFLAGS_X86=-mmacosx-version-min=10.5 -arch i386
|
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
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
|
||||||
}
|
}
|
||||||
macx {
|
macx {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue