aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtQml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-23 09:28:28 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-23 18:58:41 +0200
commit63e715b17bab0362941d04edd16e9e017fcdb18d (patch)
treee29a52f16e490a908408e82b76519b4b3ea50d16 /sources/pyside6/PySide6/QtQml
parent322c5abf75aaa10299e7b76742f9316efc60caec (diff)
PySide6: Remove dependency of QtQml on QtGui
QtQml is the base language, it does not need QtGui. Pick-to: 6.1 Change-Id: I9bd8886700bb3c20b32f7c2f0f118030a3b1fc16 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/QtQml')
-rw-r--r--sources/pyside6/PySide6/QtQml/CMakeLists.txt5
-rw-r--r--sources/pyside6/PySide6/QtQml/typesystem_qml.xml1
2 files changed, 1 insertions, 5 deletions
diff --git a/sources/pyside6/PySide6/QtQml/CMakeLists.txt b/sources/pyside6/PySide6/QtQml/CMakeLists.txt
index 6e4dc0dac..2fd253b25 100644
--- a/sources/pyside6/PySide6/QtQml/CMakeLists.txt
+++ b/sources/pyside6/PySide6/QtQml/CMakeLists.txt
@@ -38,22 +38,19 @@ ${QtQml_GEN_DIR}/qtqml_module_wrapper.cpp
set(QtQml_include_dirs ${QtQml_SOURCE_DIR}
${Qt${QT_MAJOR_VERSION}Core_INCLUDE_DIRS}
- ${Qt${QT_MAJOR_VERSION}Gui_INCLUDE_DIRS}
${Qt${QT_MAJOR_VERSION}Network_INCLUDE_DIRS}
${Qt${QT_MAJOR_VERSION}Qml_INCLUDE_DIRS}
${libpyside_SOURCE_DIR}
- ${QtGui_GEN_DIR}
${QtCore_GEN_DIR}
${QtNetwork_GEN_DIR}
${QtQml_GEN_DIR})
set(QtQml_libraries pyside6
${Qt${QT_MAJOR_VERSION}Core_LIBRARIES}
- ${Qt${QT_MAJOR_VERSION}Gui_LIBRARIES}
${Qt${QT_MAJOR_VERSION}Network_LIBRARIES}
${Qt${QT_MAJOR_VERSION}Qml_LIBRARIES})
-set(QtQml_deps QtGui QtNetwork)
+set(QtQml_deps QtNetwork)
create_pyside_module(NAME QtQml
INCLUDE_DIRS QtQml_include_dirs
diff --git a/sources/pyside6/PySide6/QtQml/typesystem_qml.xml b/sources/pyside6/PySide6/QtQml/typesystem_qml.xml
index a42bd9e08..da0850279 100644
--- a/sources/pyside6/PySide6/QtQml/typesystem_qml.xml
+++ b/sources/pyside6/PySide6/QtQml/typesystem_qml.xml
@@ -42,7 +42,6 @@
<typesystem package="PySide6.QtQml">
<load-typesystem name="QtCore/typesystem_core.xml" generate="no"/>
<load-typesystem name="QtNetwork/typesystem_network.xml" generate="no"/>
- <load-typesystem name="QtGui/typesystem_gui.xml" generate="no"/>
<inject-code class="target" position="declaration">
// Volatile Bool Ptr type definition for QQmlIncubationController::incubateWhile(std::atomic&lt;bool&gt; *, int)