Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
Windows 7, Qt 4.7.0-Beta2, Visual Studio 2010
-
fdd6436987a114521168f48b9b96013772af7d49
Description
Setting 'CharacterSet=1' in a .pro file to set the Character Set to ' Use Unicode Character Set' in the VS project will result in a invalid VS2010 project file.
See attached example:
Using Windows 7 with VS2010 and Qt 4.7.0-Beta 2. Setting QMAKESPEC to win32-vs2010. Run qmake for test.pro. When opening test.vcxproj in VS2010 get error message (ErrorMessage.png).
Solution:
Remove line 205 in 'qmake/generators/win/msvc_vcxproj.cpp' since it overwrites the setting from the switch statement above.