From 0dca6abe86cae2a128a383a7e01b2050a30d122b Mon Sep 17 00:00:00 2001 From: Andriy Babak Date: Fri, 24 May 2024 11:54:07 +0300 Subject: [PATCH 1/3] Mention PySide6 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bf236b7..e6d6af2 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Qt-py/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com) -Qt.py enables you to write software that runs on any of the 4 supported bindings - PySide2, PyQt5, PySide and PyQt4. +Qt.py enables you to write software that runs on any of the supported bindings - PySide, PySide2, PySide6, PyQt4 and PyQt5.
From 6053a7756139d16880789e12918d9df2c20b815c Mon Sep 17 00:00:00 2001 From: Andriy Babak Date: Fri, 24 May 2024 11:58:48 +0300 Subject: [PATCH 2/3] Support "QtSvgWidgets.QSvgWidget" --- Qt.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Qt.py b/Qt.py index e024a4a..d376834 100644 --- a/Qt.py +++ b/Qt.py @@ -371,6 +371,8 @@ "QSvgGenerator", "QSvgRenderer" ], + "QtSvgWidgets": [ + ], "QtTest": [ "QTest" ], @@ -963,6 +965,7 @@ def createWidget(self, class_name, parent=None, name=""): "QtCompat.qInstallMessageHandler", _qInstallMessageHandler ], "QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4", + "QtSvgWidgets.QSvgWidget": "QtSvgWidgets.QSvgWidget", }, "PySide2": { "QtWidgets.QUndoCommand": "QtWidgets.QUndoCommand", @@ -1000,6 +1003,7 @@ def createWidget(self, class_name, parent=None, name=""): "QtCompat.qInstallMessageHandler", _qInstallMessageHandler ], "QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4", + "QtSvg.QSvgWidget": "QtSvgWidgets.QSvgWidget", }, "PyQt5": { "QtWidgets.QUndoCommand": "QtWidgets.QUndoCommand", @@ -1033,6 +1037,7 @@ def createWidget(self, class_name, parent=None, name=""): ], "QtWidgets.QShortcut": "QtWidgets.QShortcut", "QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4", + "QtSvg.QSvgWidget": "QtSvgWidgets.QSvgWidget", }, "PySide": { "QtGui.QUndoCommand": "QtWidgets.QUndoCommand", @@ -1074,6 +1079,7 @@ def createWidget(self, class_name, parent=None, name=""): "QtCompat.qInstallMessageHandler", _qInstallMessageHandler ], "QtGui.QStyleOptionViewItemV4": "QtCompat.QStyleOptionViewItemV4", + "QtSvg.QSvgWidget": "QtSvgWidgets.QSvgWidget", }, "PyQt4": { "QtGui.QUndoCommand": "QtWidgets.QUndoCommand", @@ -1116,6 +1122,7 @@ def createWidget(self, class_name, parent=None, name=""): "QtCompat.qInstallMessageHandler", _qInstallMessageHandler ], "QtGui.QStyleOptionViewItemV4": "QtCompat.QStyleOptionViewItemV4", + "QtSvg.QSvgWidget": "QtSvgWidgets.QSvgWidget", } } From 29a829939d367883ffa0098e38cee2981cf6bb60 Mon Sep 17 00:00:00 2001 From: Andriy Babak Date: Fri, 24 May 2024 12:09:07 +0300 Subject: [PATCH 3/3] `QSvgWidget` moved to QtSvgWidgets in Qt 6 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e6d6af2..183da39 100644 --- a/README.md +++ b/README.md @@ -608,6 +608,7 @@ python -m twine upload .\dist\* | `QtCore.Qt.MidButton` | `QtCompat.QtCore.Qt.MidButton` | `QLabel.setPixmap(str)` | `QLabel.setPixmap(QPixmap())` | Can't take a string anymore (tested in Maya 2025.0) | `QModelIndex.child` | `QModel.index` | This one is apparently from Qt 4 and should not have been in Qt.py to begin with +| `QtSvg.QSvgWidget` | `QtSvgWidgets.QSvgWidget` | Moved to QtSvgWidgets in Qt 6 | | Submit your known issues here! | ##### Removed Members