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.
ORPA-pyOpenRPA/WPy32-3720/scripts/qtdesigner.bat

15 lines
500 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\designer.exe" (
"%WINPYDIR%\Lib\site-packages\pyqt5-tools\designer.exe" %*
) else (
"%WINPYDIR%\Lib\site-packages\PyQt5\designer.exe" %*
)
) else if exist "%WINPYDIR%\Lib\site-packages\pyqt4\designer.exe" (
"%WINPYDIR%\Lib\site-packages\PyQt4\designer.exe" %*
) else (
"%WINPYDIR%\Lib\site-packages\PySide2\designer.exe" %*
)