Project/ProjectFormsBrowser.py

branch
maintenance
changeset 5333
ccf10c6536c1
parent 5100
2c193da9b94f
child 5389
9b1c800daff3
--- a/Project/ProjectFormsBrowser.py	Sat Nov 12 12:35:19 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