Merge pull request #5000 from amirzaim/patch-6

Qt Linux buildfix for Qt 5.2.0
This commit is contained in:
Henrik Rydgård 2014-01-09 04:33:29 -08:00
commit 5d4ac24858

View File

@ -53,7 +53,7 @@ win32 {
else: LIBS += $$files($$P/dx9sdk/Lib/x86/*.lib) else: LIBS += $$files($$P/dx9sdk/Lib/x86/*.lib)
} }
linux { linux {
LIBS += -ldl -lrt LIBS += -ldl -lrt -lz
PRE_TARGETDEPS += $$CONFIG_DIR/libCommon.a $$CONFIG_DIR/libCore.a $$CONFIG_DIR/libNative.a PRE_TARGETDEPS += $$CONFIG_DIR/libCommon.a $$CONFIG_DIR/libCore.a $$CONFIG_DIR/libNative.a
packagesExist(sdl) { packagesExist(sdl) {
DEFINES += QT_HAS_SDL DEFINES += QT_HAS_SDL