Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to open files from qrc resources using native file dialog in QML?
My application has set of icon resources in qrc file, e.g. by this path "qrc://icons/".
And I want to open an "open dialog" that allows to enumerate all icons from that
path and to choose the desired icon to open.
Currently I have implemented own dialog using the QML filesystem model, but it looks ugly.
So, I want to open the native file dialog and to pass an icons list to there.
Is it possible to pass the enumerated files list to the native file dialog on iOS or Android?
TobbY last edited by
I think you are looking this type of solution.
on selection you will get the icon path and display in your QML file.
As I saw before, I already have an own custom file open dialog. I need in native file open dialogs for iOS && Android.
AFAIK, the FileDialog does not supports on Android && iOS (on iOS it just enumerates all images/pictures from the phone)...