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

Non-ASCII path names with qmake on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.5.0
    • Build tools: qmake
    • None
    • Windows XP SP3

    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.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              uriel Lopatkin Ilya
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes