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

QDir::match(...) behavior difference in 5.12.0 wrt 5.11.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.12.0, 5.12.1
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      There are some changes done in QDir::match() function in 5.12 due to which wildcards do not match across path separators

      QDir::match("*.txt", "C:/Users/shmitt/Desktop/foo.txt"),
      return true for 5.11.2 
      false for 5.12.0 and 5.12.1
      

      I think this is regression of change-ID I095959443ac7362f7534e35454eff038061fca82
      If this is an intentional change, it should be documented somewhere.

        Attachments

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

          Activity

            People

            • Assignee:
              thiago Thiago Macieira
              Reporter:
              shmittal Shveta Mittal
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes