diff options
author | Vitalii Shastun <vitalii.shastun@globallogic.com> | 2013-09-20 18:23:33 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-26 20:42:33 +0200 |
commit | 5889b239b17b27f0c93fe4f8a56fc1cc32708e8b (patch) | |
tree | 21ce28fd24e69a2df9c46954d4889c83c5100b0a /src/plugins/platforms/cocoa/qcocoaprintersupport.h | |
parent | 77dc33dcdbe0eec8ddc9059c4e0ff9dde264c5fa (diff) |
Fix QT_NO_PRINTER build on Mac
On Mac the QT_NO_PRINTER build was not implemented.
Task-number: QTBUG-33565
Change-Id: I118472f9400aa0a0d0e192ae39a11ea38a66f340
Reviewed-by: John Layt <jlayt@kde.org>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaprintersupport.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoaprintersupport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoaprintersupport.h b/src/plugins/platforms/cocoa/qcocoaprintersupport.h index 83cf1ffada..a48790ef34 100644 --- a/src/plugins/platforms/cocoa/qcocoaprintersupport.h +++ b/src/plugins/platforms/cocoa/qcocoaprintersupport.h @@ -43,6 +43,7 @@ #define QCOCOAPRINTERSUPPORT_H #include <qpa/qplatformprintersupport.h> +#ifndef QT_NO_PRINTER #include "qt_mac_p.h" @@ -64,4 +65,5 @@ private: QPrinterInfo printerInfoFromPMPrinter(const PMPrinter &printer); }; +#endif // QT_NO_PRINTER #endif // QCOCOAPRINTERSUPPORT_H |