eric6_configure.py

changeset 6630
bddd12f27a4c
parent 6101
b854a825d483
child 6645
ad476851d7e0
--- a/eric6_configure.py	Fri Dec 14 19:52:38 2018 +0100
+++ b/eric6_configure.py	Sat Dec 15 16:21:38 2018 +0100
@@ -37,16 +37,6 @@
                           settingsDir)
         sys.argv.remove(arg)
 
-from Globals import qVersionTuple
-if qVersionTuple() < (5, 6, 0):
-    WEBENGINE_AVAILABLE = False
-else:
-    try:
-        from PyQt5 import QtWebEngineWidgets    # __IGNORE_WARNING__
-        WEBENGINE_AVAILABLE = True
-    except ImportError:
-        WEBENGINE_AVAILABLE = False
-
 # make ThirdParty package available as a packages repository
 sys.path.insert(2, os.path.join(os.path.dirname(__file__),
                                 "ThirdParty", "Pygments"))
@@ -66,7 +56,7 @@
     @return reference to the main widget (QWidget)
     """
     from Preferences.ConfigurationDialog import ConfigurationWindow
-    w = ConfigurationWindow(webEngine=WEBENGINE_AVAILABLE)
+    w = ConfigurationWindow()
     w.show()
     w.showConfigurationPageByName("empty")
     return w

eric ide

mercurial