summaryrefslogtreecommitdiffstats
path: root/src/printsupport/dialogs/qprintdialog_unix.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-09-08 15:04:53 +0200
committerLars Knoll <lars.knoll@qt.io>2016-09-15 08:24:04 +0000
commitb22471edf9ff666e87b12398460dfd6e761bc24c (patch)
treeda66a63dea38c7b6583d46ee5677023a9a0ffefa /src/printsupport/dialogs/qprintdialog_unix.cpp
parentb754b2815d342334f335816b901c051940954942 (diff)
Make things compile with the printer feature disabled
Always include qtprintsupportglobal.h before checking the ifdef, and add ifdef's where they where missing. Change-Id: I535dce33b26955fb0196ea05d54be41fe93e9151 Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/printsupport/dialogs/qprintdialog_unix.cpp')
-rw-r--r--src/printsupport/dialogs/qprintdialog_unix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/printsupport/dialogs/qprintdialog_unix.cpp b/src/printsupport/dialogs/qprintdialog_unix.cpp
index 9b08ffe4df..4d8299b115 100644
--- a/src/printsupport/dialogs/qprintdialog_unix.cpp
+++ b/src/printsupport/dialogs/qprintdialog_unix.cpp
@@ -38,6 +38,7 @@
****************************************************************************/
#include "qplatformdefs.h"
+#include <QtPrintSupport/qtprintsupportglobal.h>
#ifndef QT_NO_PRINTDIALOG