With a few modifications, novelWriter now starts wuth Qt 5.2.1 and Python 3.4.3

This commit is contained in:
Veronica K. B. Olsen
2020-05-16 20:18:39 +02:00
parent 24596f28d6
commit bb894926d0
3 changed files with 9 additions and 4 deletions
+6 -2
View File
@@ -176,8 +176,12 @@ class Config:
self.osUnknown = True
# Other System Info
self.hostName = QSysInfo.machineHostName()
self.kernelVer = QSysInfo.kernelVersion()
if self.verQtValue >= 50600:
self.hostName = QSysInfo.machineHostName()
self.kernelVer = QSysInfo.kernelVersion()
else:
self.hostName = "Unknown"
self.kernelVer = "Unknown"
# Packages
self.hasEnchant = False