Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def __getattr__(self, name):
raise tank.TankError(
"The Flow Production Tracking App you are trying to execute "
"requires a full QT environment in order to render its UI. A valid "
"PySide2/PySide/PyQt installation could not be found in your python "
"PySide2/PySide6 installation could not be found in your python "
"system path."
)

Expand All @@ -252,12 +252,6 @@ def __getattr__(self, name):
QtCore = base["qt_core"]
QtGui = base["qt_gui"]

# Tell QT4 to interpret C strings as utf-8.
# On PySide2 we patch QTextCodec with a do-nothing stub
# for setCodecForCStrings(), so this will have no effect.
utf8 = QtCore.QTextCodec.codecForName("utf-8")
QtCore.QTextCodec.setCodecForCStrings(utf8)

# a simple dialog proxy that pushes the window forward
class ProxyDialogPyQt(QtGui.QDialog):
def show(self):
Expand Down