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

Mac OS: QFileDialog initial directory doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • 5.2.1
    • 5.2.0, 5.2.1
    • None
    • MacOSX / Qt 5.2.*
    • macOS

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes