Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0
-
Windows 10, Android AVD API 28
-
-
f938ed38d2f60e105b8b24ad7b154e62c6c2952c
Description
I can't open self written PDF files in Android by using openUrl.
QDesktopServices::openUrl(QUrl::fromLocalFile(file));
with
file = "/storage/emulated/0/Documents/doc.pdf"
result:
Qt JAVA : openURL(): No permissions to open Uri
Android permissions READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE are given.
Open the file with QFileDialog is working with no problems.
Attachments
Issue Links
- duplicates
-
QTBUG-84176 getUriWithValidPermission returns NULL for a url like 'http://192.168.0.1:80'
- Closed