131 Utilities.generateQtToolName("assistant")) |
131 Utilities.generateQtToolName("assistant")) |
132 self.__createProgramEntry( |
132 self.__createProgramEntry( |
133 self.tr("Qt Assistant"), exe, version=version) |
133 self.tr("Qt Assistant"), exe, version=version) |
134 |
134 |
135 # 2. do the PyQt programs |
135 # 2. do the PyQt programs |
136 # 2a. Translation Extractor PyQt5 |
136 # 2a. Translation Extractor PyQt4 |
137 self.__createProgramEntry( |
137 self.__createProgramEntry( |
138 self.tr("Translation Extractor (Python, PyQt5)"), |
138 self.tr("Translation Extractor (Python, PyQt4)"), |
139 Utilities.isWindowsPlatform() and "pylupdate4.exe" or "pylupdate4", |
139 Utilities.isWindowsPlatform() and "pylupdate4.exe" or "pylupdate4", |
140 '-version', 'pylupdate', -1) |
140 '-version', 'pylupdate', -1) |
141 # 2b. Forms Compiler PyQt5 |
141 # 2b. Forms Compiler PyQt4 |
142 self.__createProgramEntry( |
142 self.__createProgramEntry( |
143 self.tr("Forms Compiler (Python, PyQt5)"), |
143 self.tr("Forms Compiler (Python, PyQt4)"), |
144 Utilities.isWindowsPlatform() and "pyuic4.bat" or "pyuic4", |
144 Utilities.isWindowsPlatform() and "pyuic4.bat" or "pyuic4", |
145 '--version', 'Python User', 4) |
145 '--version', 'Python User', 4) |
146 # 2c. Resource Compiler PyQt5 |
146 # 2c. Resource Compiler PyQt4 |
147 self.__createProgramEntry( |
147 self.__createProgramEntry( |
148 self.tr("Resource Compiler (Python, PyQt5)"), |
148 self.tr("Resource Compiler (Python, PyQt4)"), |
149 Utilities.isWindowsPlatform() and "pyrcc4.exe" or "pyrcc4", |
149 Utilities.isWindowsPlatform() and "pyrcc4.exe" or "pyrcc4", |
150 '-version', 'Resource Compiler', -1) |
150 '-version', 'Resource Compiler', -1) |
151 # 2d. Translation Extractor PyQt5 |
151 # 2d. Translation Extractor PyQt5 |
152 self.__createProgramEntry( |
152 self.__createProgramEntry( |
153 self.tr("Translation Extractor (Python, PyQt5)"), |
153 self.tr("Translation Extractor (Python, PyQt5)"), |