[Project Properties]
Project - Properties - General - Platform Toolset 값을 "Visual Studio 2012 - Windows XP (v110_xp)"으로 변경.
[Command Line]
Command Line : /D_USING_V110_SDK71_
Qt : DEFINES+=_USING_V110_SDK71_
[Result]
>msbuild xp_test.sln
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.18052]
Copyright (C) Microsoft Corporation. All rights reserved.
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 2014-02-09 오전 3:32:31.
Project "D:\temp\vs\xp_test\xp_test.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Debug|Win32".
Project "D:\temp\vs\xp_test\xp_test.sln" (1) is building "D:\temp\vs\xp_test\xp_test.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "Debug\".
InitializeBuildStatus:
Creating "Debug\xp_test.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _USING_V110_SDK71_ /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc110.pdb" /Gd /TP /analyze- /errorReport:queue main.cpp
main.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"D:\temp\vs\xp_test\Debug\xp_test.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"D:\temp\vs\xp_test\Debug\xp_test.pdb" /SUBSYSTEM:CONSOLE,"5.01" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:\temp\vs\xp_test\Debug\xp_test.lib" /MACHINE:X86 Debug\main.obj
xp_test.vcxproj -> D:\temp\vs\xp_test\Debug\xp_test.exe
FinalizeBuildStatus:
Deleting file "Debug\xp_test.unsuccessfulbuild".
Touching "Debug\xp_test.lastbuildstate".
Done Building Project "D:\temp\vs\xp_test\xp_test.vcxproj" (default targets).
Done Building Project "D:\temp\vs\xp_test\xp_test.sln" (default targets).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.41
[Download]
qt_test : qt test
qt_xp_test : qt test with (DEFINES +=_USING_V110_SDK71_)
vs_test: vs test
vs_xp_test : vs test with (Visual Studio 2012 - Windows XP (v110_xp))
xp_test.zip