diff --git a/engine.py b/engine.py index f79cb55..c086d76 100644 --- a/engine.py +++ b/engine.py @@ -955,22 +955,14 @@ def __get_wrap_instance_method(self): This checks Qt versions in order of: - 1. PySide / shiboken - 2. PySide2 / shiboken2 - 3. PySide6 / shiboken6 + 1. PySide2 / shiboken2 + 2. PySide6 / shiboken6 This method is currently only necessary to get the VRED main window. If more cases arise such that the correct shiboken module is found for the current Qt version, this should be provided by the tk-core QtImporter. """ - try: - from shiboken import wrapInstance - - return wrapInstance - except: - pass - try: from shiboken2 import wrapInstance