Hi!
I want to display jpg images in a gallery using a DocumentGalleryModel. If I dont use a filter it works just fine (but of course all image types are displayed in that case), but as soon as I apply a filter to the DocumentGalleryModel I get the following error: "QML DocumentGalleryModel: The value of filter is unsupported". I tried differrent filters: GalleryWildcardFilter, GalleryEndsWithFilter, but to no avail.
Hardware used: C7
SDK used: Qt SDK 1.1
Qt Creator 2.1.0
Qt version: 4.7.3
QT Mobility: 1.1.3
Any idea why I get the error all the time?
GalleryWildcardFilter :
Code:GridView { id: grid model: DocumentGalleryModel { //autoUpdate: true rootType: DocumentGallery.Image properties: [ "url" ] filter: GalleryWildcardFilter { property: "fileName" value: "*.jpg" } } delegate: imageDelegate }
GalleryEndsWithFilter :
Code:GridView { id: grid model: DocumentGalleryModel { rootType: DocumentGallery.Image properties: [ "url" ] filter: GalleryEndsWithFilter { property: "fileName" value: ".jpg" } } delegate: imageDelegate }





