summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/dialogs.pri
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-31 20:43:28 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-06-29 02:23:22 +0000
commit63cc734abb7b31a73c60767b9af521783c102bd4 (patch)
tree3ccbdaaaf8d45dbded4b9132088e29b90b2e4706 /src/widgets/dialogs/dialogs.pri
parent003dc8e29a89c18729fc696ea9ca224645e792fd (diff)
Convert features.messagebox to QT_[REQUIRE_]CONFIG
Change-Id: Ie25dc672f8a675c06585c7757255f7dbadbfc5ec Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/dialogs/dialogs.pri')
-rw-r--r--src/widgets/dialogs/dialogs.pri10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/widgets/dialogs/dialogs.pri b/src/widgets/dialogs/dialogs.pri
index b745607c90..1ea5403b79 100644
--- a/src/widgets/dialogs/dialogs.pri
+++ b/src/widgets/dialogs/dialogs.pri
@@ -6,7 +6,6 @@ HEADERS += \
dialogs/qerrormessage.h \
dialogs/qfontdialog.h \
dialogs/qfontdialog_p.h \
- dialogs/qmessagebox.h \
dialogs/qfilesystemmodel.h \
dialogs/qfilesystemmodel_p.h \
dialogs/qfileinfogatherer_p.h \
@@ -22,7 +21,6 @@ SOURCES += \
dialogs/qcolordialog.cpp \
dialogs/qerrormessage.cpp \
dialogs/qfontdialog.cpp \
- dialogs/qmessagebox.cpp \
dialogs/qfilesystemmodel.cpp \
dialogs/qfileinfogatherer.cpp \
dialogs/qwizard.cpp \
@@ -54,9 +52,13 @@ qtConfig(inputdialog) {
SOURCES += dialogs/qinputdialog.cpp
}
+qtConfig(messagebox) {
+ HEADERS += dialogs/qmessagebox.h
+ SOURCES += dialogs/qmessagebox.cpp
+ RESOURCES += dialogs/qmessagebox.qrc
+}
+
qtConfig(progressdialog) {
HEADERS += dialogs/qprogressdialog.h
SOURCES += dialogs/qprogressdialog.cpp
}
-
-RESOURCES += dialogs/qmessagebox.qrc