Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. GalleryWildcardFilter doesn't support any value?
QtWS25 Last Chance

GalleryWildcardFilter doesn't support any value?

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 1 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    strekazoid
    wrote on last edited by
    #1

    I'm trying to display only JPGs from the gallery on the phone:

    @model: DocumentGalleryModel {
    rootType: DocumentGallery.Image
    properties: ["url"]
    filter: GalleryWildcardFilter {
    property: "fileName";
    value: "*.jpg";
    }
    }@

    This code gives me following error when running:

    QML DocumentGalleryModel: The value of filter is unsupported
    C:\sys\bin\gallery.exe exiting with 0 allocated cells, 519 handles

    Also when trying with @_._@ value I'm getting the same error.

    Using QtMobility.gallery 1.1 module.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      strekazoid
      wrote on last edited by
      #2

      Ok, in this documentation *.jpg is used as a filter value. I copied pasted the whole example from the doc, and have the same error:

      http://doc.qt.nokia.com/qtmobility/qml-documentgallerymodel.html

      Using Nokia E7 HW.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        strekazoid
        wrote on last edited by
        #3

        Also, is there a way to request only thumbnails of the images, and not retrieve full images and then scale them down? The app performance is incredibly slow right now.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved