diff options
Diffstat (limited to 'src/sdk/sdk.pro')
-rw-r--r-- | src/sdk/sdk.pro | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/sdk/sdk.pro b/src/sdk/sdk.pro index d952d3462..ee4e8fb1d 100644 --- a/src/sdk/sdk.pro +++ b/src/sdk/sdk.pro @@ -9,7 +9,7 @@ include(../../installerfw.pri) include($$SQUISH_PATH/qtbuiltinhook.pri) } -QT += network qml xml widgets +QT += network qml xml widgets concurrent # 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 @@ -18,10 +18,11 @@ QT += network qml xml widgets } CONFIG(static, static|shared) { - # prevent qmake from automatically linking in imageformats, bearer, qmltooling plugins - QTPLUGIN.imageformats = - + # prevent qmake from automatically linking in bearer and qmltooling plugins QTPLUGIN.bearer = - QTPLUGIN.qmltooling = - + # ICNS support required on macOS, prevent linking on other platforms + !macos:QTPLUGIN.imageformats = - } DESTDIR = $$IFW_APP_PATH @@ -39,7 +40,9 @@ exists($$LRELEASE) { "<RCC>" \ " <qresource prefix=\"/\">" for (file, IB_TRANSLATIONS) { - lang = $$replace(file, .*_([^/]*)\\.ts, \\1) + lang = $$basename(file) + lang = $$replace(lang, .ts, "") + lang = $$replace(lang, ifw_, "") qlang = $${lang} qfile = $$[QT_INSTALL_TRANSLATIONS]/qtbase_$${lang}.qm !exists($$qfile) { @@ -100,15 +103,17 @@ HEADERS += \ settingsdialog.h \ sdkapp.h \ commandlineinterface.h \ - installerbase.h + installerbase.h \ + aboutapplicationdialog.h -SOURCES = \ +SOURCES += \ main.cpp \ installerbase.cpp \ tabcontroller.cpp \ installerbasecommons.cpp \ settingsdialog.cpp \ - commandlineinterface.cpp + commandlineinterface.cpp \ + aboutapplicationdialog.cpp win32 { # Use our own manifest file |