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

[REG 5.9 -> 5.12.0] project doesn't compile if included file in resource has japanese characters in the name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 5.12.0
    • Build tools: qmake
    • None
    • Windows

      If in the resource file of the project there are files with japanese characters in the name Qt Creators won't compile and return the following error (from the example attacched):

      No rule to make target '../QmlTest/jo ?? ??.txt', needed by 'release/qrc_Sources_qmlcache.cpp'. Stop

      It seem qmake generate the makefile by changing the japanese characters to '?' as it would be not able to manage unicode characters.

      Older version fo Qt Creator was able to compile this project that it seem this bug has been introduced recently...

      I made the test using MinGW and Android compiler, in both cases the problem occurs (as obvious since the problem is in the makefile generation phase).

        1. Makefile_qt5.11.3
          38 kB
        2. Makefile_qt5.12.1
          39 kB
        3. QmlTest.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            suppaman Fabio Falsini
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes