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

Qt VST adds /utf-8 parameter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 2.8.1 (rev.06)
    • None
    • Visual Studio 2019
    • Windows

    Description

      After updating from 2.8.0 to 2.8.1.6 I get a lot of build errors.

      After a long investigation, I found that the QtVST adds the -utf-8 parameter to the compilation (I see it in the CL.command.1.tlog file).

      Now my code files are encoded using the system charset (Latin1 - 1252), that is the default behaviour of Visual Studio, so they are not compatible with the /utf-8 parameter.

       

      Attachments

        1. image-2022-01-27-18-41-00-417.png
          10 kB
          Miguel Costa
        2. TestCharset.zip
          130 kB
          Fabio Dago

        Issue Links

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

          Activity

            People

              mecfc Miguel Costa
              puffosauro Fabio Dago
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes