Nominate our 2022 Qt Champions!

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:" 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"
    //Set to remember last directory
    nameFilters: [ "Image files (*.jpg *.jpeg *.png *.tiff *.tif *.webp *.gif)" ]

Log in to reply