标签:
物联网探步--工具篇之安装使用qvb<font size="3">@echo off
rem -------------------------------------------------------
rem set environment variables for running build batch files
rem adjust this
rem -------------------------------------------------------
rem set directories for needed tools
rem directories where qt and mingw are installed
rem ### for qt4.8.2 ###
rem SET QTDIR=C:\Qt\4.8.2
rem MINGWDIR=C:\mingw-old
rem ### for qt5.1.0 ###
SET QTDIR=C:\Qt\5.1.0\5.1.0\mingw48_32
SET MINGWDIR=C:\Qt\5.1.0\Tools\mingw48_32
rem tools necessary for language bindings
SET SWIGDIR=D:\swigwin-1.3.33
SET PYDIR=C:\Python25
SET VTKDIR=D:\VTK5.10.1
SET TCLDIR=c:\Tcl
SET TCLLIBPATH=C:\Tcl\lib\tcl8.5;D:\VTK5.10.1\Wrapping\Tcl
rem change to directory with our sources
SET PVBDIR=D:\pvb
D:
cd %PVBDIR%\win-mingw
rem setup path variables
SET PATH=%PVBDIR%\win-mingw\bin;%MINGWDIR%\bin;%QTDIR%\bin;c:\windows;c:\windows\system32
SET PYTHONPATH=%PVBDIR%\win-mingw\bin;%PYTHONPATH%
echo The following has been set:
echo Is this correct on your machine ?
echo If not then edit this file.
echo QTDIR=%QTDIR%
echo MINGWDIR=%MINGWDIR%
echo SWIGDIR=%SWIGDIR%
echo PYDIR=%PYDIR%
echo PATH=%PATH%
echo now run:
echo build.bat // if you want to use Qt4
echo build5.bat // if you want to use Qt5
</font>
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:
原文地址:http://blog.csdn.net/lbsljn/article/details/46699617