summaryrefslogtreecommitdiffstats
path: root/src/printsupport/widgets/widgets.pri
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-05-29 17:11:20 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-05-30 17:21:17 +0000
commitf209215c0d96c8badcc14a3fc1cd8a6b0e56625c (patch)
tree5213913c7c405730f1c7bcaf1ba46b0b9b666ee6 /src/printsupport/widgets/widgets.pri
parente0b39313b068b41b0689b37bed6750dd0459ab89 (diff)
Convert features.printpreviewwidget to QT_[REQUIRE_]CONFIG
Change-Id: I7e38179acd93bf8c7c48c79ff5e304d893460758 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/printsupport/widgets/widgets.pri')
-rw-r--r--src/printsupport/widgets/widgets.pri6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/printsupport/widgets/widgets.pri b/src/printsupport/widgets/widgets.pri
index 1fa32764e8..1b5f0aca34 100644
--- a/src/printsupport/widgets/widgets.pri
+++ b/src/printsupport/widgets/widgets.pri
@@ -1,5 +1,7 @@
-HEADERS += widgets/qprintpreviewwidget.h
-SOURCES += widgets/qprintpreviewwidget.cpp
+qtConfig(printpreviewwidget) {
+ HEADERS += widgets/qprintpreviewwidget.h
+ SOURCES += widgets/qprintpreviewwidget.cpp
+}
unix:!darwin:qtConfig(cupsjobwidget) {
HEADERS += widgets/qcupsjobwidget_p.h