Important: Please read the Qt Code of Conduct -

FileDialog video picker on iOS

  • Is there anyway to get access from FileDialog to videos stored in the mobile device? Is there a "native" video picker for iOS? I am trying this, but I am getting a general file dialog and only getting access to an empty app local video folder.

         import QtQuick 2.0
         import QtMultimedia 5.11
         import QtQuick.Dialogs 1.3
        // Video picker
        FileDialog {
                id:          filePicker
                title:       "Select video"
                folder:      shortcuts.movies
                visible:     false
                nameFilters: ["Video files (*.asf *.avi *.flv *.m4v *.mkv *.mov *.mp4 *.mpg *.mpeg)", "All files (*)"]
                onAccepted: {
                    mediaPlayer.source = Qt.resolvedUrl(filePicker.fileUrl)

  • Lifetime Qt Champion


    This thread might give you a starting point.

Log in to reply