Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

trying to select image, opens corrupt file browser



  • I am porting an app to iOS and i would like it to be able to pick an image from the gallery, after looking around i was told to add "folder: shortcuts.pictures" however now the app after pressing the button to pick an image fails to open photo gallery and instead shows this: alt text
    Here is the code:

    FileDialog {
    id: fileDialog
    title: "Choose an image"
    folder: shortcuts.pictures
    //Set to remember last directory
    nameFilters: [ "Image files (*.jpg *.jpeg *.png *.tiff *.tif *.webp *.gif)" ]


Log in to reply