path: root/src/plugins/printsupport/
diff options
authorBradley T. Hughes <>2012-02-29 15:23:22 +0100
committerQt by Nokia <>2012-03-15 09:50:18 +0100
commit4f246bceb5958cb7ae86d7c5d59c78cad25bdd56 (patch)
tree11fcbfe821c66ed49a7df053c12d594016804410 /src/plugins/printsupport/
parent7e3c632e96dbbd6f577c2ba98464a54176c5b7b0 (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 <>
Diffstat (limited to 'src/plugins/printsupport/')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/printsupport/ b/src/plugins/printsupport/
index 9298e7981f..547ac42c9e 100644
--- a/src/plugins/printsupport/
+++ b/src/plugins/printsupport/
@@ -1,3 +1,4 @@
TEMPLATE = subdirs
+mac: SUBDIRS += cocoa
win32: SUBDIRS += windows