From fe5f8e63e1e07193db43bd4f602ae78ddab6f4a7 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Mon, 13 Jan 2025 10:34:40 +0100 Subject: [PATCH] add QtQuickWidgets to qgis.PyQt (#60123) --- python/PyQt/CMakeLists.txt | 1 + python/PyQt/PyQt/QtQuickWidgets.py.in | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 python/PyQt/PyQt/QtQuickWidgets.py.in diff --git a/python/PyQt/CMakeLists.txt b/python/PyQt/CMakeLists.txt index 8b062819d1a5..a3e3d81a419f 100644 --- a/python/PyQt/CMakeLists.txt +++ b/python/PyQt/CMakeLists.txt @@ -15,6 +15,7 @@ set(PYQT_COMPAT_FILES QtWebEngineWidgets.py QtNetwork.py QtXml.py + QtQuickWidgets.py QtSql.py QtTest.py QtSvg.py diff --git a/python/PyQt/PyQt/QtQuickWidgets.py.in b/python/PyQt/PyQt/QtQuickWidgets.py.in new file mode 100644 index 000000000000..fffc9a0a6ba2 --- /dev/null +++ b/python/PyQt/PyQt/QtQuickWidgets.py.in @@ -0,0 +1,18 @@ +""" +*************************************************************************** + QtWebEngineWidgets.py + --------------------- + Date : April 2024 + Copyright : (C) 2024 Denis Rouzaud + Email : denis@opengis.ch +*************************************************************************** +* * +* This program is free software; you can redistribute it and/or modify * +* it under the terms of the GNU General Public License as published by * +* the Free Software Foundation; either version 2 of the License, or * +* (at your option) any later version. * +* * +*************************************************************************** +""" + +from PyQt@QT_VERSION_MAJOR@.QtQuickWidgets import *