summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/dialogs.pri
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-31 21:00:22 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-07-02 10:38:40 +0000
commit3ab0ba7bf2b27f73b38a6f60181426c05f1d3af0 (patch)
tree885c96afdecfa45b87f73a60fe970c076859754e /src/widgets/dialogs/dialogs.pri
parent7a1b7c74209cdd26510edd440651b259897b8769 (diff)
Convert features.colordialog to QT_[REQUIRE_]CONFIG
Change-Id: If2ac57a10f38002db5a49be3882dfc507a84a3df Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/dialogs/dialogs.pri')
-rw-r--r--src/widgets/dialogs/dialogs.pri7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/widgets/dialogs/dialogs.pri b/src/widgets/dialogs/dialogs.pri
index 1ea5403b79..0ebb912ffc 100644
--- a/src/widgets/dialogs/dialogs.pri
+++ b/src/widgets/dialogs/dialogs.pri
@@ -1,7 +1,6 @@
# Qt dialogs module
HEADERS += \
- dialogs/qcolordialog.h \
dialogs/qfscompleter_p.h \
dialogs/qerrormessage.h \
dialogs/qfontdialog.h \
@@ -18,13 +17,17 @@ win32 {
INCLUDEPATH += $$PWD
SOURCES += \
- dialogs/qcolordialog.cpp \
dialogs/qerrormessage.cpp \
dialogs/qfontdialog.cpp \
dialogs/qfilesystemmodel.cpp \
dialogs/qfileinfogatherer.cpp \
dialogs/qwizard.cpp \
+qtConfig(colordialog) {
+ HEADERS += dialogs/qcolordialog.h
+ SOURCES += dialogs/qcolordialog.cpp
+}
+
qtConfig(dialog) {
HEADERS += \
dialogs/qdialog.h \