Fix Qt building on MacOS X 10.10 and later.

This commit is contained in:
zhyk 2016-02-10 23:33:39 +08:00
parent d60f5ba285
commit 2151327999
2 changed files with 1 additions and 5 deletions

View File

@ -42,10 +42,6 @@ macx|equals(PLATFORM_NAME, "linux") {
SOURCES += $$P/SDL/SDLJoystick.cpp
HEADERS += $$P/SDL/SDLJoystick.h
PKGCONFIG += sdl2
macx {
LIBS += -F/Library/Frameworks -framework SDL
INCLUDEPATH += /Library/Frameworks/SDL.framework/Versions/A/Headers
}
}
}

View File

@ -1,4 +1,4 @@
QMAKE_MAC_SDK=macosx10.9
QT_CONFIG -= no-pkg-config
!contains(CONFIG, staticlib) {
# Executable