diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-08-16 16:38:56 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-08-19 09:16:42 +0200 |
commit | f4f1b53b9646288d73979f8339a90fbbbcb9eedc (patch) | |
tree | cc5a5a8767e469a2d1da20f9817c92a159e31ec0 /src/gui/kernel/qplatformintegration_qpa.cpp | |
parent | a1016213d02c2f562fcf7a22a8fcfb2bd45cd674 (diff) |
Move printing into it's own library
Create a libQtPrintSupport library that contains our current
printing infrastructure. Long term this will get replaced
with a libQtPrint, as the current architecture is not
really maintainable.
Change-Id: I7362fff6786b58c5b4e9213c23eda36d15048aa2
Reviewed-on: http://codereview.qt.nokia.com/3209
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/gui/kernel/qplatformintegration_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp index 886ca16da3..5564049c0d 100644 --- a/src/gui/kernel/qplatformintegration_qpa.cpp +++ b/src/gui/kernel/qplatformintegration_qpa.cpp @@ -43,7 +43,6 @@ #include <QtGui/QPlatformFontDatabase> #include <QtGui/QPlatformClipboard> -#include <QtGui/QPlatformPrinterSupport> #include <QtGui/private/qguiapplication_p.h> #include <QtGui/private/qpixmap_raster_p.h> #include <private/qdnd_p.h> @@ -209,12 +208,7 @@ QPlatformGLContext *QPlatformIntegration::createPlatformGLContext(QGuiGLContext QPlatformPrinterSupport *QPlatformIntegration::printerSupport() const { - static QPlatformPrinterSupport *ps = 0; -#ifndef QT_NO_PRINTER - if (!ps) - ps = new QPlatformPrinterSupport; -#endif - return ps; + return 0; } /*! |