summaryrefslogtreecommitdiffstats
path: root/src/printsupport/printsupport.pro
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-08-16 16:38:56 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-08-19 09:16:42 +0200
commitf4f1b53b9646288d73979f8339a90fbbbcb9eedc (patch)
treecc5a5a8767e469a2d1da20f9817c92a159e31ec0 /src/printsupport/printsupport.pro
parenta1016213d02c2f562fcf7a22a8fcfb2bd45cd674 (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/printsupport/printsupport.pro')
-rw-r--r--src/printsupport/printsupport.pro22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/printsupport/printsupport.pro b/src/printsupport/printsupport.pro
new file mode 100644
index 0000000000..0aa92a95de
--- /dev/null
+++ b/src/printsupport/printsupport.pro
@@ -0,0 +1,22 @@
+load(qt_module)
+
+TARGET = QtPrintSupport
+QPRO_PWD = $$PWD
+QT = core-private gui-private widgets-private
+
+CONFIG += module
+MODULE_PRI = ../modules/qt_printsupport.pri
+
+DEFINES += QT_BUILD_PRINTSUPPORT_LIB QT_NO_USING_NAMESPACE
+
+unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui
+
+load(qt_module_config)
+
+HEADERS += $$QT_SOURCE_TREE/src/printsupport/qtprintsupportversion.h
+
+QMAKE_LIBS += $$QMAKE_LIBS_PRINTSUPPORT
+
+include(kernel/kernel.pri)
+include(widgets/widgets.pri)
+include(dialogs/dialogs.pri)