eric6/Project/UicCompilerOptionsDialog.py

branch
without_py2_and_pyqt4
changeset 7201
6b42677d7043
parent 7050
b66cac9a6560
child 7229
53054eb5b15a
diff -r ebab8ba287e6 -r 6b42677d7043 eric6/Project/UicCompilerOptionsDialog.py
--- a/eric6/Project/UicCompilerOptionsDialog.py	Sun Sep 01 19:58:00 2019 +0200
+++ b/eric6/Project/UicCompilerOptionsDialog.py	Mon Sep 02 18:50:38 2019 +0200
@@ -9,7 +9,6 @@
 
 from __future__ import unicode_literals
 
-from PyQt5.QtCore import PYQT_VERSION
 from PyQt5.QtWidgets import QDialog
 
 from .Ui_UicCompilerOptionsDialog import Ui_UicCompilerOptionsDialog
@@ -37,8 +36,7 @@
         self.packageRootEdit.setText(compilerOptions["PackagesRoot"])
         self.suffixEdit.setText(compilerOptions["RcSuffix"])
         
-        if 'uic5' not in compiler or PYQT_VERSION < 0x050600:
-            # only supported for PyQt5 >= 5.6 (April 2016)
+        if 'uic5' not in compiler:
             self.packageGroup.setEnabled(False)
         
         msh = self.minimumSizeHint()

eric ide

mercurial