By "launches QT" are we to assume that you mean "launch Qt Creator"? In that case, why do you need to involve Qt Creator at all? Simple Windows command file:
@echo OFF
CALL C:\Qt\2010.02.1\bin\qtenv.bat
CD /D D:\path\to\MyProject\
qmake
mingw32-make
COPY MyProject.DLL Q:\path\to\deployed\location\
REM commands to execute the deployed application or unit tests
@echo OFF
CALL C:\Qt\2010.02.1\bin\qtenv.bat
CD /D D:\path\to\MyProject\
qmake
mingw32-make
COPY MyProject.DLL Q:\path\to\deployed\location\
REM commands to execute the deployed application or unit tests
To copy to clipboard, switch view to plain text mode
Path adjustments, error trapping etc. are left as an exercise.
Bookmarks