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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes