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

utf-8 encoded filenames in qrc files are wrong in Makefile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.2
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      utf-8 encoded filenames in qrc files are wrong in Makefile

      I can reproduce this in a minimalistic project with just a file called ü.bmp and matching qrc and pro file.

      This works fine in qt5.12 and qt5.15.

      It seems the char is encoded twice
       

      char ASCII-encoding utf-8 encoding wrong encoding
      ü 0xfc 0xc3 0xbc 0xc3 0x83 0xc2 0xbc
      file qt5 qt6
      qrc  utf-8  utf-8
      Makefile ASCII wrong encoding

        Attachments

        1. qt_qrc_bug.zip
          1 kB
        2. qt5-Makefile.Debug
          16 kB
        3. qt6-Makefile.Debug
          13 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            florianfischer Florian Fischer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes