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

CLONE - Non-ASCII path names with qmake on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.5.0, 5.9.6
    • Build tools: qmake
    • None
    • Windows 10
    • Windows

    Description

      I've noticed very strange thing about Qt Creator on russian version of Windows recently.
      The matter is that Creator by default offers to create new project in "My Documents" folder which in russian version (for example) is translated and using cyrillic symbols in its name. But after creating you cann't compile project due to qmake's error. I think this could be a little bit confusing for a new Qt users who just want to try Qt Creator.
      Then I've found out that the problem is in way qmake recieves an arguments from system. It just converts them like this:
      QString arg = argv[x];
      So by doing this qmake disregards any locally encoded path names.
      I think it could easely be fixed by using QTextCodec but I also have found defines like QT_NO_TEXTCODEC so I don't know whether it should be touched or no.
      But anyway I think this problem should be tackled somehow.
      P.S. And yes, there is no such a problem under Linux.

       

      This is a clone of the original issue https://bugreports.qt.io/browse/QTBUG-6080. It is reproduced with Qt 5.9.6 on Windows 10.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              azarubkin Alexandr Zarubkin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes