Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-670

Multi-Byte character set projects no longer compile after upgrading to new project format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 2.4.1 (rev.12), 2.4.2
    • 2.4.1
    • General
    • Windows 10 Pro 64-bit, Visual Studio 16.3.1
    • Windows
    • 907c13e156613d28accd8c7812f9c561bfff36a6

    Description

      After I upgraded projects to new Qt project format using "Upgrade to latest Qt project format version" context menu item, I started getting char/wchar related errors all over the place during compilation:

      error C2664: 'BOOL GetComputerNameW(LPWSTR,LPDWORD)': cannot convert argument 1 from 'char [50]' to 'LPWSTR'

      .

      .

      .

       

      Somehow, UNICODE is now defined, even though the project is Multi-Byte character set:

       

       

       

       

      Attachments

        For Gerrit Dashboard: QTVSADDINBUG-670
        # Subject Branch Project Status CR V

        Activity

          People

            mecfc Miguel Costa
            r0ll1ngst0ne Michael Kostukov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes