Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13080

Setting CharacterSet in .pro file does not work for VS2010 projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.7.0
    • Build tools: qmake
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            christof_schultz Christof Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes