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

Regularise the mkdir and mkpath methods of QDir.

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • Some future release
    • Core: I/O
    • None
    • All

      The mkdir() and mkpath() methods of QDir do not really make sense as they instance methods but take a parameter, even though QDir already represents a directory.

      It is suggested that these methods are deprecated and replaced by an instance method which does not take a parameter and create the directory that the QDir object represents (perhaps create()) and static methods (createDir() and createPath()) which take parameters and allow the creation of arbitrary directories on the system without having to create a QDir instance.

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

            thiago Thiago Macieira
            cryptopractor Chris Morrison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes