summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprintengine_win.cpp
diff options
context:
space:
mode:
authorLars Knoll <[email protected]>2016-09-08 15:04:53 +0200
committerLars Knoll <[email protected]>2016-09-15 08:24:04 +0000
commitb22471edf9ff666e87b12398460dfd6e761bc24c (patch)
treeda66a63dea38c7b6583d46ee5677023a9a0ffefa /src/printsupport/kernel/qprintengine_win.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 <[email protected]> Reviewed-by: Oswald Buddenhagen <[email protected]>
Diffstat (limited to 'src/printsupport/kernel/qprintengine_win.cpp')
-rw-r--r--src/printsupport/kernel/qprintengine_win.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/printsupport/kernel/qprintengine_win.cpp b/src/printsupport/kernel/qprintengine_win.cpp
index 36c873c4f60..706a7c4b025 100644
--- a/src/printsupport/kernel/qprintengine_win.cpp
+++ b/src/printsupport/kernel/qprintengine_win.cpp
@@ -37,6 +37,8 @@
**
****************************************************************************/
+#include <QtPrintSupport/qtprintsupportglobal.h>
+
#ifndef QT_NO_PRINTER
#include "qprintengine_win_p.h"