You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
597 B
18 lines
597 B
6 years ago
|
@echo off
|
||
|
call "%~dp0env_for_icons.bat"
|
||
|
cd/D "%WINPYWORKDIR%"
|
||
|
if "%QT_API%"=="pyqt5" (
|
||
|
if exist "%WINPYDIR%\Lib\site-packages\pyqt5-tools\linguist.exe" (
|
||
|
"%WINPYDIR%\Lib\site-packages\pyqt5-tools\linguist.exe" %*
|
||
|
) else (
|
||
|
cd/D "%WINPYDIR%\Lib\site-packages\PyQt5"
|
||
|
"%WINPYDIR%\Lib\site-packages\PyQt5\linguist.exe" %*
|
||
|
)
|
||
|
) else if exist "%WINPYDIR%\Lib\site-packages\PyQt4\linguist.exe" (
|
||
|
cd/D "%WINPYDIR%\Lib\site-packages\PyQt4"
|
||
|
"%WINPYDIR%\Lib\site-packages\PyQt4\linguist.exe" %*
|
||
|
) else (
|
||
|
"%WINPYDIR%\Lib\site-packages\PySide2\linguist.exe" %*
|
||
|
)
|
||
|
|