From aca4948bd6dd57dea8e0b38c54b5073bc686e0b6 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Sun, 21 Jun 2020 11:31:07 +0200 Subject: [PATCH] Forgot qtgui import --- engine/start.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"])