8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00bb1e6 commit add1bceCopy full SHA for add1bce
make.py
@@ -849,8 +849,13 @@ def _create_batch_scripts(self):
849
self.create_batch_script('qtlinguist.bat',r"""@echo off
850
call "%~dp0env_for_icons.bat"
851
cd/D "%WINPYWORKDIR%"
852
-if "%QT_API%"=="pyqt5" "%WINPYDIR%\Lib\site-packages\PyQt5\linguist.exe" %*
853
-if not "%QT_API%"=="pyqt5" "%WINPYDIR%\Lib\site-packages\PyQt4\linguist.exe" %*
+if "%QT_API%"=="pyqt5" (
+cd/D "%WINPYDIR%\Lib\site-packages\PyQt5"
854
+"%WINPYDIR%\Lib\site-packages\PyQt5\linguist.exe" %*
855
+) else (
856
+cd/D "%WINPYDIR%\Lib\site-packages\PyQt4"
857
+"%WINPYDIR%\Lib\site-packages\PyQt4\linguist.exe" %*
858
+)
859
""")
860
861
self.create_python_batch('register_python.bat', 'register_python',
0 commit comments