Skip to content

Commit 4a284ee

Browse files
committed
Updated PySide2 to 5.15.2 for Python 3.
1 parent 58c2f7b commit 4a284ee

File tree

799 files changed

+108191
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

799 files changed

+108191
-4
lines changed

framework.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ def init_framework(self):
2424
# Supporting Windows only for now
2525
pyside_root = None
2626
if sys.platform == "win32":
27-
pyside_root = os.path.join(self.disk_location, "resources", "pyside2-5.9.0a1")
27+
if sys.version_info[0] >= 3:
28+
pyside_root = os.path.join(self.disk_location, "resources", "pyside2-5.15.2")
29+
else:
30+
pyside_root = os.path.join(self.disk_location, "resources", "pyside2-5.9.0a1")
2831

2932
if pyside_root:
3033
# Add PySide2 path to PYTHONPATH
@@ -38,9 +41,9 @@ def init_framework(self):
3841

3942
self.log_debug("Successfully initialized PySide2 '%s' located in %s."
4043
% (PySide2.__version__, PySide2.__file__))
41-
except ImportError:
42-
pass
43-
except Exception, e:
44+
except ImportError as e:
45+
self.log_warning("Error importing PySide2: %s" % e)
46+
except Exception as e:
4447
self.log_warning("Error setting up PySide2. Pyside2-based UI support will not "
4548
"be available: %s" % e)
4649

259 KB
Binary file not shown.

resources/pyside2-5.15.2/PySide2/Qt3DAnimation.pyi

Lines changed: 354 additions & 0 deletions
Large diffs are not rendered by default.
275 KB
Binary file not shown.

resources/pyside2-5.15.2/PySide2/Qt3DCore.pyi

Lines changed: 474 additions & 0 deletions
Large diffs are not rendered by default.
522 KB
Binary file not shown.

resources/pyside2-5.15.2/PySide2/Qt3DExtras.pyi

Lines changed: 698 additions & 0 deletions
Large diffs are not rendered by default.
252 KB
Binary file not shown.

resources/pyside2-5.15.2/PySide2/Qt3DInput.pyi

Lines changed: 355 additions & 0 deletions
Large diffs are not rendered by default.
52 KB
Binary file not shown.

0 commit comments

Comments
 (0)