diff options
author | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2018-11-24 18:47:33 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2018-11-28 11:44:22 +0000 |
commit | b067f541b46e0544a336629f7c4e2688e9465b67 (patch) | |
tree | aa7ea609c687acfd74229b869907241cb3b4aa0c /sources/pyside2/PySide2/QtGui | |
parent | a5d4a71d32d1b2a095119351a0935c49f3ac0a50 (diff) |
Install snippets glue code
The module-specific glue files as well as the standalone glue files
are now installed into the PySide2 package.
The glue files are now also listed as dependencies for the shiboken
generator run, which means that modifying those files will now
correctly force a shiboken re-run for the relevant modules.
Change-Id: I545c7ada379fafb7f225d0b0f5ce495bf6d4795d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/QtGui')
-rw-r--r-- | sources/pyside2/PySide2/QtGui/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sources/pyside2/PySide2/QtGui/CMakeLists.txt b/sources/pyside2/PySide2/QtGui/CMakeLists.txt index b330a63bf..1e5366733 100644 --- a/sources/pyside2/PySide2/QtGui/CMakeLists.txt +++ b/sources/pyside2/PySide2/QtGui/CMakeLists.txt @@ -222,6 +222,10 @@ else() message(STATUS "Qt5Gui: Adding Desktop OpenGL classes") endif() +set(QtGui_glue_sources + "${QtGui_SOURCE_DIR}/glue/qguiapplication_init.cpp" +) + configure_file("${QtGui_SOURCE_DIR}/typesystem_gui.xml.in" "${QtGui_BINARY_DIR}/typesystem_gui.xml" @ONLY) @@ -252,9 +256,8 @@ create_pyside_module(QtGui QtGui_SRC QPYTEXTOBJECT_MOC ${QtGui_BINARY_DIR}/typesystem_gui.xml - "" - "" - QtGui_DROPPED_ENTRIES) + QtGui_DROPPED_ENTRIES + QtGui_glue_sources) install(FILES ${pyside2_SOURCE_DIR}/qpytextobject.h DESTINATION include/PySide2/QtGui/) |