Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.15.2
-
None
-
MacOs Big Sur 11.3
Description
FileDialog {
id: root
nameFilters: [ "Image files (*.jpg *.jpeg *.png *.bmp *.gif *.pbm *.pgm *.ppm *.xbm *.xpm)" ]
folder: shortcuts.pictures
}
returns an fileUrl file:assets-library://asset/asset.HEIC%3Fid=CC95F08C-88C3-4012-9D6D-64A413D254B3&ext=HEIC
the QFile constructed from this file Url exists. But its size calculated with FileInfo is 0.
QUrl url1 {fileUrl}; QFile file2 {url1.toLocalFile()};
file2.readAll just returns empty QByteArray
I can not attach any file here as getting message
"Jira could not attach the file as there was a missing token. Please try attaching the file again."