Qt 6.11 is out! See what's new in the release
blog
How to filter DocumentGalleryModel
QML and Qt Quick
1
Posts
1
Posters
2.0k
Views
1
Watching
-
Has anyone been able to filter DocumentGalleryModel?
if using the example from http://doc.trolltech.com/qtmobility-1.1.1/qml-gallery.html
@import QtMobility.gallery 1.1... model: DocumentGalleryModel { rootType: DocumentGallery.Image properties: ["url"] filter: GalleryWildcardFilter { property: "fileName"; value: "*.jpg"; } } ...@I get error: "QML DocumentGalleryModel: The value of filter is unsupported"
but if I use it without filter it works ok, returning all values.
Here is also a bug report of it
https://bugreports.qt.nokia.com//browse/QTMOBILITY-1656But if you have got this to work, please help