Skip to content

Commit 3967fe4

Browse files
committed
added PySide6 to update_misplaced_members() and update_compatibility_members()
1 parent e6edaa8 commit 3967fe4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/QtSiteConfig/QtSiteConfig.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def update_misplaced_members(members):
2222
members (dict): The members considered by Qt.py
2323
"""
2424
# Create Qt.QtGui.QColorTest that points to Qtgui.QColor for unit testing.
25+
members["PySide6"]["QtGui.QColor"] = "QtGui.QColorTest"
2526
members["PySide2"]["QtGui.QColor"] = "QtGui.QColorTest"
2627
members["PyQt5"]["QtGui.QColor"] = "QtGui.QColorTest"
2728
members["PySide"]["QtGui.QColor"] = "QtGui.QColorTest"
@@ -37,7 +38,7 @@ def update_compatibility_members(members):
3738
"""
3839
# Create a QtCompat.QWidget compatibility class. This example is
3940
# is used to provide a testable unittest
40-
for binding in ("PySide2", "PyQt5", "PySide", "PyQt4"):
41+
for binding in ("PySide6", "PySide2", "PyQt5", "PySide", "PyQt4"):
4142
members[binding]["QWidget"] = {
4243
# Simple remapping of QWidget.windowTitle
4344
"windowTitleTest": "QtWidgets.QWidget.windowTitle",

0 commit comments

Comments
 (0)