From b22471edf9ff666e87b12398460dfd6e761bc24c Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 8 Sep 2016 15:04:53 +0200 Subject: 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 Reviewed-by: Oswald Buddenhagen --- src/printsupport/dialogs/qprintdialog_unix.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/printsupport/dialogs/qprintdialog_unix.cpp') diff --git a/src/printsupport/dialogs/qprintdialog_unix.cpp b/src/printsupport/dialogs/qprintdialog_unix.cpp index 9b08ffe4dfe..4d8299b1155 100644 --- a/src/printsupport/dialogs/qprintdialog_unix.cpp +++ b/src/printsupport/dialogs/qprintdialog_unix.cpp @@ -38,6 +38,7 @@ ****************************************************************************/ #include "qplatformdefs.h" +#include #ifndef QT_NO_PRINTDIALOG -- cgit v1.2.3