267 from eric7.EricWidgets.EricApplication import ericApp |
267 from eric7.EricWidgets.EricApplication import ericApp |
268 |
268 |
269 toolsPath = "" |
269 toolsPath = "" |
270 |
270 |
271 # step 1: check, if the user has configured a tools path |
271 # step 1: check, if the user has configured a tools path |
272 if version == 5: |
272 if version == 6: |
273 toolsPath = Preferences.getQt("PyQtToolsDir") |
|
274 venvName = Preferences.getQt("PyQtVenvName") |
|
275 elif version == 6: |
|
276 toolsPath = Preferences.getQt("PyQt6ToolsDir") |
273 toolsPath = Preferences.getQt("PyQt6ToolsDir") |
277 venvName = Preferences.getQt("PyQt6VenvName") |
274 venvName = Preferences.getQt("PyQt6VenvName") |
278 |
275 |
279 # step 2: determine from used Python interpreter (pylupdate is test object) |
276 # step 2: determine from used Python interpreter (pylupdate is test object) |
280 if not toolsPath: |
277 if not toolsPath: |