|
|
@@ -31,7 +31,16 @@ try: |
|
|
|
from dbus.mainloop.pyqt5 import DBusQtMainLoop |
|
|
|
haveDBus = True |
|
|
|
except: |
|
|
|
haveDBus = False |
|
|
|
kxstudioWorkaround = "/opt/kxstudio/python3/dist-packages/dbus/mainloop" |
|
|
|
if os.path.exists(kxstudioWorkaround): |
|
|
|
try: |
|
|
|
sys.path.insert(0, kxstudioWorkaround) |
|
|
|
from pyqt5 import DBusQtMainLoop |
|
|
|
haveDBus = True |
|
|
|
except: |
|
|
|
haveDBus = False |
|
|
|
else: |
|
|
|
haveDBus = False |
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------------------------------------ |
|
|
|
# Try Import OpenGL |
|
|
|