Project/ProjectFormsBrowser.py

changeset 5331
8d607cd52f26
parent 5100
2c193da9b94f
child 5389
9b1c800daff3
diff -r 381665763704 -r 8d607cd52f26 Project/ProjectFormsBrowser.py
--- a/Project/ProjectFormsBrowser.py	Thu Nov 17 18:59:13 2016 +0100
+++ b/Project/ProjectFormsBrowser.py	Fri Nov 18 18:34:34 2016 +0100
@@ -752,13 +752,13 @@
             if self.project.getProjectType() in ["Qt4", ]:
                 self.uicompiler = 'pyuic4'
                 if Utilities.isWindowsPlatform():
-                    uic = self.uicompiler + '.bat'
+                    uic = Utilities.getWindowsExecutablePath(self.uicompiler)
                 else:
                     uic = self.uicompiler
             elif self.project.getProjectType() in ["PyQt5"]:
                 self.uicompiler = 'pyuic5'
                 if Utilities.isWindowsPlatform():
-                    uic = self.uicompiler + '.bat'
+                    uic = Utilities.getWindowsExecutablePath(self.uicompiler)
                 else:
                     uic = self.uicompiler
             elif self.project.getProjectType() in ["E6Plugin"]:
@@ -767,7 +767,7 @@
                 else:
                     self.uicompiler = 'pyuic5'
                 if Utilities.isWindowsPlatform():
-                    uic = self.uicompiler + '.bat'
+                    uic = Utilities.getWindowsExecutablePath(self.uicompiler)
                 else:
                     uic = self.uicompiler
             elif self.project.getProjectType() == "PySide":
@@ -779,7 +779,7 @@
             if self.project.getProjectType() == "Qt4":
                 self.uicompiler = 'rbuic4'
                 if Utilities.isWindowsPlatform():
-                    uic = self.uicompiler + '.exe'
+                    uic = Utilities.getWindowsExecutablePath(self.uicompiler)
                 else:
                     uic = self.uicompiler
             else:

eric ide

mercurial