variables as paths to run?
Posted: 13 Oct 2023 02:09
hello guys....
so lets say i have this line i need to run:
so i was thinking of something like:
but unfortunatelly this does not work... so how can I do this?
so lets say i have this line i need to run:
Code: Select all
c:\Qt\6.6.0\mingw_64\bin\windeployqt6.exe --qmldir c:\Qt\Projects\Sources\game_test c:\Qt\Projects\Builds\build-game_test-Desktop_Qt_6_6_0_MinGW_64_bit-Release\appgame_test.exe --compiler-runtime
Code: Select all
set /p "windeployqt6"="c:\Qt\6.6.0\mingw_64\bin\windeployqt6.exe"
set /p "sourceDir"="c:\Qt\Projects\Sources\game_test"
set /p "appPath"="c:\Qt\Projects\Builds\build-game_test-Desktop_Qt_6_6_0_MinGW_64_bit-Release\appgame_test.exe"
%windeployqt6% --qmldir %sourceDir% %appPath% --compiler-runtime