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

QDir::entryInfoList returns wrong info in Mac OS X ( Mavericks )

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.3.0
    • Core: I/O
    • None
    • Mac OS X ( Mavericks )
      QT 5.3 Cocoa
    • macOS

      Attached the test application, which shows the problem:

      In this example first created QDir object with path = “ApplicationPath/1/å” and then calls QDir::entryInfoList. This method returns incorrect string which looks similar source path, but binary representation symbol “å” is not equals. This occurs only under Mac OS

      1. We create a folder with a name in decomposed Unicode.
      2. We create a QDir object on it and call entryInfoList method.
      3. We call absoluteFilePath of the result QFileInfo. It returns a path but in composed Unicode.

        1. main.cpp
          2 kB
          Sergey Trushin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thiago Thiago Macieira
            -=sergey=- Sergey Trushin
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes