Preferences/ProgramsDialog.py

changeset 5878
74d02cd37185
parent 5696
68af0e9c57ad
child 5968
c5112b5cb7a9
--- a/Preferences/ProgramsDialog.py	Tue Sep 05 19:32:23 2017 +0200
+++ b/Preferences/ProgramsDialog.py	Fri Sep 15 19:41:33 2017 +0200
@@ -143,7 +143,7 @@
         # 2.1b. Forms Compiler PyQt4
         self.__createProgramEntry(
             self.tr("Forms Compiler (Python, PyQt4)"),
-            Utilities.generatePyQtToolPath("pyuic4"),
+            Utilities.generatePyQtToolPath("pyuic4", ["py3uic4", "py2uic4"]),
             '--version', 'Python User', 4)
         # 2.1c. Resource Compiler PyQt4
         self.__createProgramEntry(
@@ -160,7 +160,7 @@
         # 2.2b. Forms Compiler PyQt5
         self.__createProgramEntry(
             self.tr("Forms Compiler (Python, PyQt5)"),
-            Utilities.generatePyQtToolPath("pyuic5"),
+            Utilities.generatePyQtToolPath("pyuic5", ["py3uic5", "py2uic5"]),
             '--version', 'Python User', 4)
         # 2.2c. Resource Compiler PyQt5
         self.__createProgramEntry(

eric ide

mercurial