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

Mac OS: QFileDialog initial directory doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.2.0, 5.2.1
    • Fix Version/s: 5.2.1
    • Labels:
      None
    • Environment:
      MacOSX / Qt 5.2.*
    • Platform/s:
      macOS

      Description

      The following code works doesn't work as expected on Qt 5.2.*:

      fileName = QFileDialog::getOpenFileName(this, "Open...", QDir::homePath());

      The dialog open on the application folder instead of the home path.

      With 5.1.1 it works fine.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              peppe Giuseppe D'Angelo
              Reporter:
              martindelille Martin Delille
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes