From 2f4786f8781e6958e3cf2682754e9e36d7619226 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Mon, 13 Jan 2025 07:50:06 +0100 Subject: [PATCH 1/4] add QtQuickWidgets to qgis.PyQt --- python/PyQt/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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 From 237217eb6fd8e15d5fd81007da63f2dae0eac2ec Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Mon, 13 Jan 2025 07:51:50 +0100 Subject: [PATCH 2/4] Create QtQuickWidgets.py --- python/PyQt/PyQt/QtQuickWidgets.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 python/PyQt/PyQt/QtQuickWidgets.py diff --git a/python/PyQt/PyQt/QtQuickWidgets.py b/python/PyQt/PyQt/QtQuickWidgets.py new file mode 100644 index 000000000000..724528c545e4 --- /dev/null +++ b/python/PyQt/PyQt/QtQuickWidgets.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +""" +*************************************************************************** + 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 * From cedb314a7d044a4b5dad0923fb20b5a9a1396f3d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 06:54:22 +0000 Subject: [PATCH 3/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- python/PyQt/PyQt/QtQuickWidgets.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/PyQt/PyQt/QtQuickWidgets.py b/python/PyQt/PyQt/QtQuickWidgets.py index 724528c545e4..fffc9a0a6ba2 100644 --- a/python/PyQt/PyQt/QtQuickWidgets.py +++ b/python/PyQt/PyQt/QtQuickWidgets.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """ *************************************************************************** QtWebEngineWidgets.py From 399b4368727f555d2fa323e89b96232d7414b4a0 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Mon, 13 Jan 2025 08:06:55 +0100 Subject: [PATCH 4/4] Rename QtQuickWidgets.py to QtQuickWidgets.py.in --- python/PyQt/PyQt/{QtQuickWidgets.py => QtQuickWidgets.py.in} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename python/PyQt/PyQt/{QtQuickWidgets.py => QtQuickWidgets.py.in} (100%) diff --git a/python/PyQt/PyQt/QtQuickWidgets.py b/python/PyQt/PyQt/QtQuickWidgets.py.in similarity index 100% rename from python/PyQt/PyQt/QtQuickWidgets.py rename to python/PyQt/PyQt/QtQuickWidgets.py.in