define QTPLUGIN values

This commit is contained in:
Rafael 2016-03-29 15:46:21 +02:00
parent d872242f2c
commit b15c6de97d
1 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,6 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = gta5sync
TEMPLATE = app
SOURCES += main.cpp \
AboutDialog.cpp \
CrewDatabase.cpp \
@ -82,7 +81,6 @@ win32: RC_FILE += res/app.rc
# QT4 ONLY STUFF
isEqual(QT_MAJOR_VERSION, 4): INCLUDEPATH += ./qjson4
isEqual(QT_MAJOR_VERSION, 4): HEADERS += qjson4/QJsonArray.h \
qjson4/QJsonDocument.h \
qjson4/QJsonObject.h \
@ -106,3 +104,7 @@ unix: !macx: appfiles.path = $$(INSTALL_PATH)/share/applications
unix: !macx: appfiles.files = $$PWD/res/gta5sync.desktop
unix: !macx: target.path = $$(INSTALL_PATH)/bin
unix: !macx: INSTALLS += target appfiles
# STATIC BUILD STUFF
static: QTPLUGIN += qjpeg
static: isEqual(QT_MAJOR_VERSION, 4): QTPLUGIN += qjpcodecs