--- a/Project/ProjectResourcesBrowser.py Sun Apr 09 16:52:55 2017 +0200 +++ b/Project/ProjectResourcesBrowser.py Sat May 06 13:43:21 2017 +0200 @@ -39,9 +39,6 @@ @signal appendStderr(str) emitted after something was received from a QProcess on stderr - @signal sourceFile(str) emitted to open a resources file in an editor - @signal closeSourceWindow(str) emitted after a file has been - removed/deleted from the project @signal showMenu(str, QMenu) emitted when a menu is about to be shown. The name of the menu and a reference to the menu are given. """ @@ -530,7 +527,7 @@ def __readStdout(self): """ Private slot to handle the readyReadStandardOutput signal of the - pyrcc4/rbrcc process. + pyrcc4/pyrcc5/pyside-rcc/rbrcc process. """ if self.compileProc is None: return @@ -544,7 +541,7 @@ def __readStderr(self): """ Private slot to handle the readyReadStandardError signal of the - pyrcc4/rbrcc process. + pyrcc4/pyrcc5/pyside-rcc/rbrcc process. """ if self.compileProc is None: return @@ -633,10 +630,7 @@ if self.project.getProjectLanguage() in \ ["Python", "Python2", "Python3"]: if self.project.getProjectType() in ["Qt4", "Qt4C"]: - self.rccCompiler = 'pyrcc4' - if Utilities.isWindowsPlatform(): - self.rccCompiler = \ - Utilities.getWindowsExecutablePath(self.rccCompiler) + self.rccCompiler = Utilities.generatePyQtToolPath('pyrcc4') if PYQT_VERSION >= 0x040500: if self.project.getProjectLanguage() in \ ["Python", "Python2"]: @@ -644,23 +638,17 @@ else: args.append("-py3") elif self.project.getProjectType() in ["PyQt5", "PyQt5C"]: - self.rccCompiler = 'pyrcc5' - if Utilities.isWindowsPlatform(): - self.rccCompiler = \ - Utilities.getWindowsExecutablePath(self.rccCompiler) + self.rccCompiler = Utilities.generatePyQtToolPath('pyrcc5') elif self.project.getProjectType() in ["E6Plugin"]: if PYQT_VERSION < 0x050000: - self.rccCompiler = 'pyrcc4' + self.rccCompiler = Utilities.generatePyQtToolPath('pyrcc4') if self.project.getProjectLanguage() in \ ["Python", "Python2"]: args.append("-py2") else: args.append("-py3") else: - self.rccCompiler = 'pyrcc5' - if Utilities.isWindowsPlatform(): - self.rccCompiler = \ - Utilities.getWindowsExecutablePath(self.rccCompiler) + self.rccCompiler = Utilities.generatePyQtToolPath('pyrcc5') elif self.project.getProjectType() in ["PySide", "PySideC"]: self.rccCompiler = Utilities.generatePySideToolPath( 'pyside-rcc')