Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. trying to select image, opens corrupt file browser
Forum Updated to NodeBB v4.3 + New Features

trying to select image, opens corrupt file browser

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 212 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LoudestBoi
    wrote on last edited by
    #1

    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)" ]

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved