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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.2
    • Build tools: qmake
    • None
    • 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
        4. UnicodeQrcBuildBug.zip
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            florianfischer Florian Fischer
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes