diff --git a/engine/start.py b/engine/start.py index 32eaae9..831bdc7 100644 --- a/engine/start.py +++ b/engine/start.py @@ -78,6 +78,9 @@ Nuitka complies that in, when make is finished we delete it. import sys import os import os.path +from PyQt5.QtWidgets import QApplication +import QtGui + logger.info(f"Python Version {sys.version}") @@ -126,7 +129,7 @@ else: logger.info("PATHS: {}".format(PATHS)) -from PyQt5.QtWidgets import QApplication + #Construct QAppliction before constantsAndCOnfigs, which has the fontDB QtGui.QGuiApplication.setDesktopSettingsAware(False) #We need our own font so the user interface stays predictable QtGui.QGuiApplication.setDesktopFileName(PATHS["desktopfile"])