0022554: Application hangs on selection
[occt.git] / samples / qt / Tutorial / generation-vc-projects.bat
CommitLineData
a48afd18 1REM Generation of vcproj files with qmake utilite\r
2REM Variable QTDIR and PATH to qmake executable must be defined without fail\r
3\r
4REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10),\r
5REM second argument specifies architecture) (win32 or win64)\r
6\r
7call "%~dp0..\..\..\ros\env_build.bat" %1 %2\r
8\r
9IF NOT DEFINED QTDIR GOTO ERR_QTDIR\r
10\r
11SET PATH=%QTDIR%\bin;%PATH%\r
12\r
13qmake -tp vc -r Tutorial.pro\r
14\r
6dfe1db1 15GOTO END\r
a48afd18 16:ERR_QTDIR\r
17ECHO Environment variable "QTDIR" has not been defined. Abort.\r
a48afd18 18\r
19:END\r