QML can't open file dialog <p>I'm trying to create a simple File dialog using the QML:</p> <pre><code>import QtQuick 2.2 import QtQuick.Dialogs 1.0 FileDialog { id: fileDialog title: "Please choose a file" onAccepted: { console.log("You chose: " + fileDialog.fileUrls) Qt.quit() } onRejected: { console.log("Canceled") Qt.quit() } Component.onCompleted: visible = true } </code></pre> <p>However, when I try to preview it I receive following errors/warnings:</p> <pre><code>QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory Invalid URL: QUrl( "" ) Invalid URL: QUrl( "" ) Invalid URL: QUrl( "" ) Invalid URL: QUrl( "" ) kf5.kio.core: KLocalSocket(0x1a51cf0) Jumbo packet of 35946 bytes </code></pre> <p>As far as I understand, settings the QUrl is not needed to display the dialog. If so, is it possible to set it to the user's home folder in a cross-platform way? I also tried to start the ibus daemon as I found on google that it's causing that first error line but it's still not working.</p> <p>I'm using Arch (fully updated) with KF5 and QT5.4 installed.</p> <p>Thanks for help!</p>