1
0
Fork 0

fixed VSProps for Qt DLL copy

This commit is contained in:
bunnei 2014-04-21 22:00:13 -04:00
parent 1780f9b76a
commit 089dff2cd4
3 changed files with 10 additions and 6 deletions

View File

@ -4,6 +4,7 @@
<PropertyGroup Label="UserMacros"> <PropertyGroup Label="UserMacros">
<QtIncludeDir>$(QTDIR)\include\</QtIncludeDir> <QtIncludeDir>$(QTDIR)\include\</QtIncludeDir>
<QtLibraryDir>$(QTDIR)\lib\</QtLibraryDir> <QtLibraryDir>$(QTDIR)\lib\</QtLibraryDir>
<QtBinaryDir>$(QTDIR)\bin\</QtBinaryDir>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<IncludePath>$(QtIncludeDir);$(QtIncludeDir)QtGui;$(QtIncludeDir)QtCore;$(QtIncludeDir)Qt;$(QtIncludeDir)QtOpenGL;$(QtIncludeDir)QtANGLE;$(QtIncludeDir)QtWidgets;$(IncludePath)</IncludePath> <IncludePath>$(QtIncludeDir);$(QtIncludeDir)QtGui;$(QtIncludeDir)QtCore;$(QtIncludeDir)Qt;$(QtIncludeDir)QtOpenGL;$(QtIncludeDir)QtANGLE;$(QtIncludeDir)QtWidgets;$(IncludePath)</IncludePath>
@ -31,5 +32,8 @@
<BuildMacro Include="QtLibraryDir"> <BuildMacro Include="QtLibraryDir">
<Value>$(QtLibraryDir)</Value> <Value>$(QtLibraryDir)</Value>
</BuildMacro> </BuildMacro>
<BuildMacro Include="QtBinaryDir">
<Value>$(QtBinaryDir)</Value>
</BuildMacro>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -12,9 +12,9 @@
<QtCommandLine>/I"$(SolutionDir)src" /I"$(ExternalsDir)glew-1.6.0\include" /I"$(ExternalsDir)sdl-1.2.15\include" /I"$(ExternalsDir)qhexedit" /D"_DEBUG"</QtCommandLine> <QtCommandLine>/I"$(SolutionDir)src" /I"$(ExternalsDir)glew-1.6.0\include" /I"$(ExternalsDir)sdl-1.2.15\include" /I"$(ExternalsDir)qhexedit" /D"_DEBUG"</QtCommandLine>
</MOC> </MOC>
<PostBuildEvent> <PostBuildEvent>
<Command>xcopy "$(QtLibraryDir)QtCored4.dll" "$(EmuBinDir)" /Y /S /D <Command>xcopy "$(QtBinaryDir)QtCored4.dll" "$(EmuBinDir)" /Y /S /D
xcopy "$(QtLibraryDir)QtGuid4.dll" "$(EmuBinDir)" /Y /S /D xcopy "$(QtBinaryDir)QtGuid4.dll" "$(EmuBinDir)" /Y /S /D
xcopy "$(QtLibraryDir)QtOpenGLd4.dll" "$(EmuBinDir)" /Y /S /D</Command> xcopy "$(QtBinaryDir)QtOpenGLd4.dll" "$(EmuBinDir)" /Y /S /D</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup /> <ItemGroup />

View File

@ -8,9 +8,9 @@
<AdditionalDependencies>QtCore4.lib;QtGui4.lib;QtOpenGL4.lib;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>QtCore4.lib;QtGui4.lib;QtOpenGL4.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link> </Link>
<PostBuildEvent> <PostBuildEvent>
<Command>xcopy "$(QtLibraryDir)QtCore4.dll" "$(EmuBinDir)" /Y /S /D <Command>xcopy "$(QtBinaryDir)QtCore4.dll" "$(EmuBinDir)" /Y /S /D
xcopy "$(QtLibraryDir)QtGui4.dll" "$(EmuBinDir)" /Y /S /D xcopy "$(QtBinaryDir)QtGui4.dll" "$(EmuBinDir)" /Y /S /D
xcopy "$(QtLibraryDir)QtOpenGL4.dll" "$(EmuBinDir)" /Y /S /D</Command> xcopy "$(QtBinaryDir)QtOpenGL4.dll" "$(EmuBinDir)" /Y /S /D</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup /> <ItemGroup />