From e24dd4d48f73bb6988f7b88ff94a2aa589f7518b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Martins?= Date: Tue, 9 Oct 2012 23:34:29 +0100 Subject: QtPrintSupport: Fix build with QT_NO_PICTURE. Printer support depends on having Picture support. If QT_NO_PICTURE is defined, qfeatures.h will define QT_NO_PRINTER. Not all code is including qfeatures.h, which causes inconsistency, some code has QT_NO_PRINTER defined and some has not, which causes the build to fail. Change-Id: I10a854244a41d017b921b731ec0e08f90a3326cf Reviewed-by: Holger Ihrig Reviewed-by: J-P Nurmi --- src/plugins/printsupport/cups/qcupsprintersupport_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/printsupport') diff --git a/src/plugins/printsupport/cups/qcupsprintersupport_p.h b/src/plugins/printsupport/cups/qcupsprintersupport_p.h index 1321e83586..17fd1cf89e 100644 --- a/src/plugins/printsupport/cups/qcupsprintersupport_p.h +++ b/src/plugins/printsupport/cups/qcupsprintersupport_p.h @@ -42,6 +42,7 @@ #ifndef QCUPSPRINTERSUPPORT_H #define QCUPSPRINTERSUPPORT_H +#include // Some feature dependencies might define QT_NO_PRINTER #ifndef QT_NO_PRINTER #include -- cgit v1.2.3