4
0
mirror of https://github.com/QuasarApp/installer-framework.git synced 2025-05-10 03:59:32 +00:00

Clean up Qt 5 build rules

Change-Id: I2e494d5f91d1cb740c6254544cf92daaae236f1a
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
Kai Koehne 2013-03-04 13:31:45 +01:00
parent 0bda027c34
commit 61f5549578
7 changed files with 23 additions and 8 deletions
examples/testapp
installerfw.pri
src
libs/installer
sdk
tools
archivegen
binarycreator
repogen

@ -4,6 +4,10 @@ TARGET = testapp
include(../../installerfw.pri)
isEqual(QT_MAJOR_VERSION, 5) {
QT += widgets
}
!static {
warning("You can use this example only with a static build of Qt and IFW!")
}

@ -86,9 +86,10 @@ isEqual(QT_MAJOR_VERSION, 4) {
QT += script network xml
}
} else {
QT += uitools xml
contains(QT, gui): QT += widgets
contains(QT, core): QT += concurrent core-private
QT += uitools core-private
CONFIG(static, static|shared) {
QT += concurrent network script xml
}
}
CONFIG += depend_includepath

@ -11,10 +11,15 @@ DLLDESTDIR = $$IFW_APP_PATH
DEFINES += BUILD_LIB_INSTALLER
QT += script \
QT += \
script \
network \
xml
isEqual(QT_MAJOR_VERSION, 5) {
QT += concurrent widgets core-private
}
HEADERS += packagemanagercore.h \
packagemanagercore_p.h \
packagemanagergui.h \

@ -4,7 +4,12 @@ TARGET = installerbase
include(../../installerfw.pri)
QT += network script
QT += network script xml
isEqual(QT_MAJOR_VERSION, 5) {
QT += widgets
}
DESTDIR = $$IFW_APP_PATH
if (exists($$LRELEASE)) {

@ -5,7 +5,7 @@ INCLUDEPATH += . .. ../common
include(../../installerfw.pri)
QT -= gui
QT += script
QT += script xml
CONFIG += console
DESTDIR = $$IFW_APP_PATH

@ -5,7 +5,7 @@ INCLUDEPATH += . .. rcc ../common
include(../../installerfw.pri)
QT -= gui
QT += script
QT += script xml
CONFIG += console
DESTDIR = $$IFW_APP_PATH

@ -5,7 +5,7 @@ INCLUDEPATH += . .. ../common
include(../../installerfw.pri)
QT -= gui
QT += script
QT += script xml
CONFIG += console
DESTDIR = $$IFW_APP_PATH