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

QFileDialog::getExistingDirectory always returns empty string

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 6.1.2
    • None
    • Windows 10 Version 20H2 (Build 19042)
    • Windows

    Description

      Following does not return a value. The result is always an empty string.

      It does not matter which directory I choose, the result is always an empty string.

      QString directory = QFileDialog::getExistingDirectory(this);
      directory.isEmpty() // always true

      I tried this also in version 6.0.2, where this still worked.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            henrikfroehling Henrik Fröhling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes