summaryrefslogtreecommitdiffstats
path: root/examples/xml
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-02-01 15:16:00 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-02-18 07:12:14 +0000
commit8fe36801930872ef4a57e2ff7d7f935de12a33e9 (patch)
tree671e2d19399140d96bb1da48d4f41215fd6a55a7 /examples/xml
parent0c03316ec94361bd1d80b391d77a1dcd52f2a23a (diff)
Add cmdline feature to qmake
[ChangeLog][qmake] A new feature "cmdline" was added that implies "CONFIG += console" and "CONFIG -= app_bundle". Task-number: QTBUG-27079 Change-Id: I6e52b07c9341c904bb1424fc717057432f9360e1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'examples/xml')
-rw-r--r--examples/xml/htmlinfo/htmlinfo.pro3
-rw-r--r--examples/xml/xmlstreamlint/xmlstreamlint.pro3
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/xml/htmlinfo/htmlinfo.pro b/examples/xml/htmlinfo/htmlinfo.pro
index e106c69b52..8fea3b38dd 100644
--- a/examples/xml/htmlinfo/htmlinfo.pro
+++ b/examples/xml/htmlinfo/htmlinfo.pro
@@ -1,10 +1,9 @@
SOURCES += main.cpp
QT -= gui
-CONFIG -= app_bundle
RESOURCES = resources.qrc
-win32: CONFIG += console
+CONFIG += cmdline
# install
target.path = $$[QT_INSTALL_EXAMPLES]/xml/htmlinfo
diff --git a/examples/xml/xmlstreamlint/xmlstreamlint.pro b/examples/xml/xmlstreamlint/xmlstreamlint.pro
index cf03c4817a..90a6387afe 100644
--- a/examples/xml/xmlstreamlint/xmlstreamlint.pro
+++ b/examples/xml/xmlstreamlint/xmlstreamlint.pro
@@ -1,5 +1,4 @@
-CONFIG += console
-CONFIG -= app_bundle
+CONFIG += cmdline
QT -= gui
SOURCES += main.cpp