summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/dialogs.pri
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-31 23:08:35 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-07-02 10:39:04 +0000
commit2fb9705521bc2879dc89b54c1488d6a20a310d85 (patch)
treef35e5ebfac50864071a496a204fbef1ba95485c6 /src/widgets/dialogs/dialogs.pri
parent341554e34393199d8f6ba401df1fab0bfbb10188 (diff)
Convert features.filesystemmodel to QT_[REQUIRE_]CONFIG
Change-Id: I862510387e79d04221ec075f3e79896908ee9d8f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/dialogs/dialogs.pri')
-rw-r--r--src/widgets/dialogs/dialogs.pri20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/widgets/dialogs/dialogs.pri b/src/widgets/dialogs/dialogs.pri
index f072576acc..c2625ec1f4 100644
--- a/src/widgets/dialogs/dialogs.pri
+++ b/src/widgets/dialogs/dialogs.pri
@@ -2,16 +2,11 @@
HEADERS += \
dialogs/qfontdialog.h \
- dialogs/qfontdialog_p.h \
- dialogs/qfilesystemmodel.h \
- dialogs/qfilesystemmodel_p.h \
- dialogs/qfileinfogatherer_p.h
+ dialogs/qfontdialog_p.h
INCLUDEPATH += $$PWD
SOURCES += \
- dialogs/qfontdialog.cpp \
- dialogs/qfilesystemmodel.cpp \
- dialogs/qfileinfogatherer.cpp
+ dialogs/qfontdialog.cpp
qtConfig(colordialog) {
HEADERS += dialogs/qcolordialog.h
@@ -45,6 +40,17 @@ qtConfig(filedialog) {
FORMS += dialogs/qfiledialog.ui
}
+qtConfig(filesystemmodel) {
+ HEADERS += \
+ dialogs/qfilesystemmodel.h \
+ dialogs/qfilesystemmodel_p.h \
+ dialogs/qfileinfogatherer_p.h
+
+ SOURCES += \
+ dialogs/qfilesystemmodel.cpp \
+ dialogs/qfileinfogatherer.cpp
+}
+
qtConfig(fscompleter) {
HEADERS += dialogs/qfscompleter_p.h
}