diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-02 16:11:52 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-02 16:12:04 +0000 |
commit | 25180730194bec25f915f32ab846ea583fb1493f (patch) | |
tree | 9a73e0336ecf21e085d99d6a651c5547b9eb99f8 /sources/pyside6/PySide6/QtPrintSupport/CMakeLists.txt | |
parent | 6e3e7b9ca0548430aaa5e2555d6e02c64625fa3f (diff) |
Rename PySide2 to PySide6
Adapt CMake files, build scripts, tests and examples.
Task-number: PYSIDE-904
Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/PySide6/QtPrintSupport/CMakeLists.txt')
-rw-r--r-- | sources/pyside6/PySide6/QtPrintSupport/CMakeLists.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/QtPrintSupport/CMakeLists.txt b/sources/pyside6/PySide6/QtPrintSupport/CMakeLists.txt new file mode 100644 index 000000000..f2e072fb4 --- /dev/null +++ b/sources/pyside6/PySide6/QtPrintSupport/CMakeLists.txt @@ -0,0 +1,43 @@ +project(QtPrintSupport) + +set(QtPrintSupport_SRC +${QtPrintSupport_GEN_DIR}/qabstractprintdialog_wrapper.cpp +${QtPrintSupport_GEN_DIR}/qpagesetupdialog_wrapper.cpp +${QtPrintSupport_GEN_DIR}/qprintdialog_wrapper.cpp +${QtPrintSupport_GEN_DIR}/qprintengine_wrapper.cpp +${QtPrintSupport_GEN_DIR}/qprinter_wrapper.cpp +${QtPrintSupport_GEN_DIR}/qprinterinfo_wrapper.cpp +${QtPrintSupport_GEN_DIR}/qprintpreviewdialog_wrapper.cpp +${QtPrintSupport_GEN_DIR}/qprintpreviewwidget_wrapper.cpp +# module is always needed +${QtPrintSupport_GEN_DIR}/qtprintsupport_module_wrapper.cpp +) + +configure_file("${QtPrintSupport_SOURCE_DIR}/typesystem_printsupport.xml.in" + "${QtPrintSupport_BINARY_DIR}/typesystem_printsupport.xml" @ONLY) + +set(QtPrintSupport_include_dirs ${QtPrintSupport_SOURCE_DIR} + ${QtPrintSupport_BINARY_DIR} + ${Qt${QT_MAJOR_VERSION}Core_INCLUDE_DIRS} + ${Qt${QT_MAJOR_VERSION}Gui_INCLUDE_DIRS} + ${Qt${QT_MAJOR_VERSION}Widgets_INCLUDE_DIRS} + ${Qt${QT_MAJOR_VERSION}PrintSupport_INCLUDE_DIRS} + ${libpyside_SOURCE_DIR} + ${QtCore_GEN_DIR} + ${QtGui_GEN_DIR} + ${QtWidgets_GEN_DIR} + ) +set(QtPrintSupport_libraries pyside6 + ${Qt${QT_MAJOR_VERSION}Core_LIBRARIES} + ${Qt${QT_MAJOR_VERSION}Gui_LIBRARIES} + ${Qt${QT_MAJOR_VERSION}Widgets_LIBRARIES} + ${Qt${QT_MAJOR_VERSION}PrintSupport_LIBRARIES} + ) +set(QtPrintSupport_deps QtWidgets) +create_pyside_module(NAME QtPrintSupport + INCLUDE_DIRS QtPrintSupport_include_dirs + LIBRARIES QtPrintSupport_libraries + DEPS QtPrintSupport_deps + TYPESYSTEM_PATH QtPrintSupport_SOURCE_DIR + SOURCES QtPrintSupport_SRC + TYPESYSTEM_NAME ${QtPrintSupport_BINARY_DIR}/typesystem_printsupport.xml) |