Important: Please read the Qt Code of Conduct -

Cannot set folder in FileDialog from QtQuick.Dialogs 1.0

  • I don't know if it's a bug or if I'm doing anything wrong.
    No matter what value I assign the folder property to, the fileDialog always shows the application source folder.
    I've tried different values: "file:///home", "file:///home/", "~", shortcuts.home, Qt.resolvedUrl("/home")
    None of them had any effect. I'm on Debian 10.3, Qt 5.14.0
    Here's my code:

    import QtQuick 2.2
    import QtQuick.Dialogs 1.0
    FileDialog {
        id: openFileDialog
        title: "test"
        folder: "file:///home"

    Is this working for you? Do I need to change anything?.