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

Changes in qdir/qfile between qt3 and qt4

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.4.0
    • Documentation
    • None

      The current and parent directory identifiers ( . and .. ) behavior seems to have changed between Qt 3 and Qt 4.

      In Qt 3 a call to QDir::dirName() or QDir::path() where the QDir has been set with .setPath(..) will return the name of the directory, but in Qt 4 these calls return the identifier .. instead of the resolved path.

      This should be mentioned in the Porting documentation.

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

            boddie David Boddie (Inactive)
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes