Merge pull request #8572 from zhykzhykzhyk/master

Fix Qt building on MacOS X 10.10 and later.
This commit is contained in:
Henrik Rydgård 2016-02-10 17:32:25 +01:00
commit 3f0f6423d9
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