Changed default order of bindings in Qt.py
This commit is contained in:
parent
e414cb4651
commit
5525ec0dfd
@ -1,3 +1,9 @@
|
|||||||
|
import os
|
||||||
|
if "QT_PREFERRED_BINDING" not in os.environ:
|
||||||
|
os.environ["QT_PREFERRED_BINDING"] = os.pathsep.join(
|
||||||
|
["PySide2", "PySide", "PyQt5", "PyQt4"]
|
||||||
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from syncplay.ui.gui import MainWindow as GraphicalUI
|
from syncplay.ui.gui import MainWindow as GraphicalUI
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user