diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-02-29 15:23:22 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-15 09:50:18 +0100 |
commit | 4f246bceb5958cb7ae86d7c5d59c78cad25bdd56 (patch) | |
tree | 11fcbfe821c66ed49a7df053c12d594016804410 /src/plugins/printsupport/printsupport.pro | |
parent | 7e3c632e96dbbd6f577c2ba98464a54176c5b7b0 (diff) |
Add a QPlatformPrinterSupportPlugin for Cocoa
This is used to create the actual QPrintEngine and to query the system
about printer information.
The QCocoaPrinterSupport actually lives in the Cocoa platform plugin,
so the QCocoaPrinterSupportPlugin uses the
createPlatformPrinterSupport() function in the QPlatformNativeInterface
(since the latter is a QObject). This is done to avoid adding a printing
related virtual function to QPlatformIntegration (since we have plans
to do a new printing API in the future).
Change-Id: I8bf9be668ff8ae1d07840e2af1e0846dc3299334
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Diffstat (limited to 'src/plugins/printsupport/printsupport.pro')
-rw-r--r-- | src/plugins/printsupport/printsupport.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/printsupport/printsupport.pro b/src/plugins/printsupport/printsupport.pro index 9298e7981f..547ac42c9e 100644 --- a/src/plugins/printsupport/printsupport.pro +++ b/src/plugins/printsupport/printsupport.pro @@ -1,3 +1,4 @@ TEMPLATE = subdirs +mac: SUBDIRS += cocoa win32: SUBDIRS += windows |