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

Add QDir::copy

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Core: I/O
    • None

    Description

      Consider adding a convenience function to copy local directories recursively.

      This is a common operation that currently has to be reimplemented anew, and we have multiple instances of it in qtbase alone. It seems also a commonly searched for feature, see e.g. https://stackoverflow.com/questions/2536524/copy-directory-using-qt

      Alternative is to rely on std::filesystem::copy. Anyhow, this fails for qrc resources (and extracting qrc resources to a local directory is actually a common use case).

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes