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">
<QtIncludeDir>$(QTDIR)\include\</QtIncludeDir>
<QtLibraryDir>$(QTDIR)\lib\</QtLibraryDir>
<QtBinaryDir>$(QTDIR)\bin\</QtBinaryDir>
</PropertyGroup>
<PropertyGroup>
<IncludePath>$(QtIncludeDir);$(QtIncludeDir)QtGui;$(QtIncludeDir)QtCore;$(QtIncludeDir)Qt;$(QtIncludeDir)QtOpenGL;$(QtIncludeDir)QtANGLE;$(QtIncludeDir)QtWidgets;$(IncludePath)</IncludePath>
@ -31,5 +32,8 @@
<BuildMacro Include="QtLibraryDir">
<Value>$(QtLibraryDir)</Value>
</BuildMacro>
<BuildMacro Include="QtBinaryDir">
<Value>$(QtBinaryDir)</Value>
</BuildMacro>
</ItemGroup>
</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>
</MOC>
<PostBuildEvent>
<Command>xcopy "$(QtLibraryDir)QtCored4.dll" "$(EmuBinDir)" /Y /S /D
xcopy "$(QtLibraryDir)QtGuid4.dll" "$(EmuBinDir)" /Y /S /D
xcopy "$(QtLibraryDir)QtOpenGLd4.dll" "$(EmuBinDir)" /Y /S /D</Command>
<Command>xcopy "$(QtBinaryDir)QtCored4.dll" "$(EmuBinDir)" /Y /S /D
xcopy "$(QtBinaryDir)QtGuid4.dll" "$(EmuBinDir)" /Y /S /D
xcopy "$(QtBinaryDir)QtOpenGLd4.dll" "$(EmuBinDir)" /Y /S /D</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup />

View File

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