summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt.prf
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2012-12-10 16:11:47 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-10 15:33:54 +0100
commit903fa2e4aa0d4e0cf0e13216dd8883b5e4a7709d (patch)
tree2b4a5deff813da0b1c81b26de2e3b348a2828243 /mkspecs/features/qt.prf
parentf166fcd3d0931ecc08087b12fdac5940e5ccbdf7 (diff)
Add QT_DEFAULT_QPA_PLUGIN to generated qconfig.pri
Configure will now generate QT_DEFAULT_QPA_PLUGIN qmake variable to specify the default QPA plugin. "CONFIG += qpa_default_plugin" statement in application .pro file will add the default QPA plugin into QTPLUGINS. "CONFIG += qpa_minimal_plugin" statement in application .pro file will add the minimal QPA plugin into QTPLUGINS. Task-number: QTBUG-28131 Change-Id: I12a241005f30b37467d783b50f0369b47e605e68 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'mkspecs/features/qt.prf')
-rw-r--r--mkspecs/features/qt.prf4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
index 6b2833b09e..0735ec465c 100644
--- a/mkspecs/features/qt.prf
+++ b/mkspecs/features/qt.prf
@@ -40,6 +40,10 @@ QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN
contains(QT_CONFIG, static) {
QT_PLUGIN_VERIFY += QTPLUGIN
contains(TEMPLATE, .*app) {
+ contains(QT, gui) {
+ qpa_minimal_plugin: QTPLUGIN += qminimal
+ qpa_default_plugin: QTPLUGIN += $$QT_DEFAULT_QPA_PLUGIN
+ }
import_plugins:!isEmpty(QTPLUGIN) {
IMPORT_FILE_CONT = \
"// This file is autogenerated by qmake. It imports static plugin classes for" \