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. QFileDialog::getOpenFileContent on Android
Qt 6.11 is out! See what's new in the release blog

QFileDialog::getOpenFileContent on Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 24 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
    LZHD
    wrote last edited by
    #1

    I'm trying to use QFileDialog::getOpenFileContent() on Android.

    The file picker intent opens correctly, but the callback is never invoked, so I cannot obtain the selected file content.

    I have already requested MANAGE_EXTERNAL_STORAGE. Using either QFile with a file URL or my own file picker implementation works correctly, so file access itself does not seem to be the issue.

    Is QFileDialog::getOpenFileContent() expected to work on Android? If so, are there any additional requirements or configurations that I might have missed? I couldn't find any related bug reports in the Qt bug tracker.

    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