CMake: Re-generate printsupport

Change-Id: I8c859dad17dbb18694f52c4c87bf20d55f490099
Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
This commit is contained in:
Tobias Hunger 2019-03-29 12:11:04 +01:00
parent 2d1bc2dd6f
commit c4bdddf917

View File

@ -27,12 +27,15 @@ add_qt_module(PrintSupport
Qt::CorePrivate
Qt::GuiPrivate
Qt::WidgetsPrivate
PUBLIC_LIBRARIES Qt::Gui # manual: for QPageSize
# MODULE_PLUGIN_TYPES = "printsupport"
# QMAKE_LIBS = "$$QMAKE_LIBS_PRINTSUPPORT"
# _LOADED = "qt_module"
PUBLIC_LIBRARIES # special case
Qt::Gui
)
#### Keys ignored in scope 1:.:printsupport.pro:<NONE>:
# MODULE_PLUGIN_TYPES = "printsupport"
# QMAKE_LIBS = "$$QMAKE_LIBS_PRINTSUPPORT"
# _LOADED = "qt_module"
## Scopes:
#####################################################################
@ -49,10 +52,10 @@ extend_target(PrintSupport CONDITION WIN32
extend_target(PrintSupport CONDITION WIN32 AND NOT WINRT
LIBRARIES
winspool
comdlg32
gdi32
user32
winspool
)
extend_target(PrintSupport CONDITION QT_FEATURE_cups AND UNIX AND NOT APPLE
@ -70,9 +73,46 @@ extend_target(PrintSupport CONDITION QT_FEATURE_printdialog
dialogs/qabstractprintdialog.cpp dialogs/qabstractprintdialog.h dialogs/qabstractprintdialog_p.h
dialogs/qpagesetupdialog.cpp dialogs/qpagesetupdialog.h dialogs/qpagesetupdialog_p.h
dialogs/qpagesetupwidget.ui
dialogs/qprintdialog.h dialogs/qprintdialog.qrc
dialogs/qprintdialog.h
)
# Resources:
add_qt_resource(PrintSupport "qprintdialog" PREFIX "/qt-project.org/dialogs/qprintpreviewdialog" BASE "dialogs" FILES
images/fit-page-24.png
images/fit-page-32.png
images/fit-width-24.png
images/fit-width-32.png
images/go-first-24.png
images/go-first-32.png
images/go-last-24.png
images/go-last-32.png
images/go-next-24.png
images/go-next-32.png
images/go-previous-24.png
images/go-previous-32.png
images/layout-landscape-24.png
images/layout-landscape-32.png
images/layout-portrait-24.png
images/layout-portrait-32.png
images/page-setup-24.png
images/page-setup-32.png
images/print-24.png
images/print-32.png
images/view-page-multi-24.png
images/view-page-multi-32.png
images/view-page-one-24.png
images/view-page-one-32.png
images/view-page-sided-24.png
images/view-page-sided-32.png
images/zoom-in-24.png
images/zoom-in-32.png
images/zoom-out-24.png
images/zoom-out-32.png)
add_qt_resource(PrintSupport "qprintdialog1" PREFIX "/qt-project.org/dialogs/qprintdialog" BASE "dialogs" FILES
images/status-color.png
images/status-gray-scale.png)
extend_target(PrintSupport CONDITION APPLE_OSX AND QT_FEATURE_printdialog
SOURCES
dialogs/qpagesetupdialog_mac.mm