--- a/Preferences/ConfigurationDialog.py Sat Oct 21 15:18:15 2017 +0200 +++ b/Preferences/ConfigurationDialog.py Sat Oct 21 19:17:27 2017 +0200 @@ -12,7 +12,7 @@ import os import types -from PyQt5.QtCore import QMetaObject, pyqtSignal, Qt, QRect, pyqtSlot +from PyQt5.QtCore import pyqtSignal, pyqtSlot, PYQT_VERSION, Qt, QMetaObject, QRect from PyQt5.QtGui import QPixmap from PyQt5.QtWidgets import QSizePolicy, QSpacerItem, QWidget, QTreeWidget, \ QStackedWidget, QDialog, QSplitter, QScrollArea, QApplication, \ @@ -346,7 +346,7 @@ [self.tr("VirusTotal Interface"), "virustotal.png", "HelpVirusTotalPage", "0webBrowserPage", None], }) - if qVersionTuple() >= (5, 8, 0): + if qVersionTuple() >= (5, 8, 0) and PYQT_VERSION >= 0x50800: self.configItems.update({ "webBrowserSpellCheckingPage": [self.tr("Spell checking"), @@ -470,7 +470,7 @@ "HelpVirusTotalPage", None, None], } - if qVersionTuple() >= (5, 8, 0): + if qVersionTuple() >= (5, 8, 0) and PYQT_VERSION >= 0x50800: self.configItems.update({ "webBrowserSpellCheckingPage": [self.tr("Spell checking"),