diff --git a/samples/qt/IESample/generation-vc-projects.bat b/samples/qt/IESample/generation-vc-projects.bat new file mode 100644 index 0000000000..047caa2ec0 --- /dev/null +++ b/samples/qt/IESample/generation-vc-projects.bat @@ -0,0 +1,19 @@ +REM Generation of vcproj files with qmake utilite +REM Variable QTDIR and PATH to qmake executable must be defined without fail + +REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10), +REM second argument specifies architecture) (win32 or win64) + +call "%~dp0..\..\..\ros\env_build.bat" %1 %2 + +IF NOT DEFINED QTDIR GOTO ERR_QTDIR + +SET PATH=%QTDIR%\bin;%PATH% + +qmake -tp vc -r Tutorial.pro + +:ERR_QTDIR +ECHO Environment variable "QTDIR" has not been defined. Abort. +GOTO END + +:END diff --git a/samples/qt/Tutorial/generation-vc-projects.bat b/samples/qt/Tutorial/generation-vc-projects.bat new file mode 100644 index 0000000000..047caa2ec0 --- /dev/null +++ b/samples/qt/Tutorial/generation-vc-projects.bat @@ -0,0 +1,19 @@ +REM Generation of vcproj files with qmake utilite +REM Variable QTDIR and PATH to qmake executable must be defined without fail + +REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10), +REM second argument specifies architecture) (win32 or win64) + +call "%~dp0..\..\..\ros\env_build.bat" %1 %2 + +IF NOT DEFINED QTDIR GOTO ERR_QTDIR + +SET PATH=%QTDIR%\bin;%PATH% + +qmake -tp vc -r Tutorial.pro + +:ERR_QTDIR +ECHO Environment variable "QTDIR" has not been defined. Abort. +GOTO END + +:END