set qmake=C:\Qt\Qt5.13.2\5.13.2\mingw73_64\bin\qmake.exe set make=C:/Qt/Qt5.13.2/Tools/mingw730_64/bin/mingw32-make set shdir=%cd% cd .. cd .. set modulename=%2 set rootdir=%cd% set prodir=%rootdir%\%1\%2 cd %prodir% set profile=%2.pro %qmake% %profile% %make% -f Makefile.Release -j8 cd release copy %modulename%.exe %rootdir%\bin cd .. del .qmake.stash del Makefile del Makefile.Debug del Makefile.Release del %2%_resource.rc rd debug rd /s /q release cd %shdir%