diff -r a22eee00b052 -r ab0a91b82b37 eric6/Tools/webBrowserSupport.py --- a/eric6/Tools/webBrowserSupport.py Sat Aug 31 12:58:11 2019 +0200 +++ b/eric6/Tools/webBrowserSupport.py Sun Sep 01 17:43:03 2019 +0200 @@ -7,8 +7,8 @@ """ Script to determine the supported web browser variant. -It looks for QtWebEngine first and the old QtWebKit thereafter. It reports the -variant found or the string 'None' if both are absent. +It looks for QtWebEngine. It reports the variant found or the string 'None' if +it is absent. """ from __future__ import unicode_literals @@ -21,18 +21,7 @@ from PyQt5 import QtWebEngineWidgets # __IGNORE_WARNING__ variant = "QtWebEngine" except ImportError: - if sys.argv[-1].startswith("4."): - try: - from PyQt4 import QtWebKit # __IGNORE_WARNING__ - variant = "QtWebKit" - except ImportError: - pass - else: - try: - from PyQt5 import QtWebKit # __IGNORE_WARNING__ - variant = "QtWebKit" - except ImportError: - pass + pass print(variant) # __IGNORE_WARNING_M801__