diff options
Diffstat (limited to 'src/sdk/sdk.pro')
-rw-r--r-- | src/sdk/sdk.pro | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/src/sdk/sdk.pro b/src/sdk/sdk.pro index 51098e3b3..1227ed1c8 100644 --- a/src/sdk/sdk.pro +++ b/src/sdk/sdk.pro @@ -4,16 +4,12 @@ TARGET = installerbase include(../../installerfw.pri) -QT += network script xml - -isEqual(QT_MAJOR_VERSION, 5) { - QT += widgets - # add the minimal plugin in static case to be able to start the installer - # headless with: installer-binary -platform minimal - # using QT += qpa_minimal_plugin would result in a minimal only compiled version - !win32:CONFIG(static, static|shared) { +QT += network qml xml widgets +# add the minimal plugin in static build to be able to start the installer headless with: +# installer-binary -platform minimal +# using QT += qpa_minimal_plugin would result in a minimal only compiled version +!win32:CONFIG(static, static|shared) { QTPLUGIN += qminimal - } } DESTDIR = $$IFW_APP_PATH @@ -110,30 +106,32 @@ exists($$LRELEASE) { } FORMS += settingsdialog.ui -HEADERS += installerbase_p.h \ +HEADERS += \ tabcontroller.h \ installerbasecommons.h \ settingsdialog.h \ console.h \ - sdkapp.h - -SOURCES = installerbase.cpp \ - installerbase_p.cpp \ + sdkapp.h \ + updatechecker.h \ + installerbase.h \ + constants.h \ + commandlineparser.h + +SOURCES = \ + main.cpp \ + installerbase.cpp \ tabcontroller.cpp \ installerbasecommons.cpp \ - settingsdialog.cpp + settingsdialog.cpp \ + updatechecker.cpp \ + commandlineparser.cpp win32 { # Force to overwrite the default manifest file with our own extended version. - isEqual(QT_MAJOR_VERSION, 4) { - !win32-g++* { - win32:RC_FILE = installerbase.rc - QMAKE_POST_LINK += $$quote(mt.exe -updateresource:$$IFW_APP_PATH/$${TARGET}.exe -manifest \"$${IFW_SOURCE_TREE}\\src\\sdk\\installerbase.manifest\") - } - } else { - RC_FILE = installerbase_qt5.rc - QMAKE_MANIFEST = installerbase.manifest - } + RC_FILE = installerbase_qt5.rc + QMAKE_MANIFEST = installerbase.manifest + + SOURCES += console_win.cpp } macx:include(../../no_app_bundle.pri) |