Browse Source

Forgot qtgui import

master
Nils 4 years ago
parent
commit
aca4948bd6
  1. 5
      engine/start.py

5
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"])

Loading…
Cancel
Save