From a48afd1822d29856156bb227129265b09f62accf Mon Sep 17 00:00:00 2001 From: bugmaster <> Date: Thu, 6 Oct 2011 08:09:29 +0000 Subject: [PATCH] Adding generation files for vc projects --- .../qt/IESample/generation-vc-projects.bat | 19 +++++++++++++++++++ .../qt/Tutorial/generation-vc-projects.bat | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 samples/qt/IESample/generation-vc-projects.bat create mode 100644 samples/qt/Tutorial/generation-vc-projects.bat 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 -- 2.20.1