QML FolderListModel problem on Android
-
I have problem with FolderListModel QML element on Android. FolderListModel works fine when I set "folder" property to some "external" path (e.g. "file:///sdcard/Test/"), but when I try to set local path relative to QML file (these files are deployed to assets) the model stays empty.
The same code works fine on Windows. I also tried absolute ("assets:/qml/...") and relative variations with no success.
I use Qt 5.2.1 and FolderListModel 2.0 (import Qt.labs.folderlistmodel 2.0). I should also mention that I can open corresponding files (images) using relative path, and that there are no errors on debug output, but model remains empty.