Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1741

QML DocumentGalleryModel Element example does not work on Symbian^3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 1.1.3
    • Document Gallery
    • None
    • Qt SDK 1.1, Qt 4.7.3 for Symbian^3, Qt Mobility 4.7.3 for Symbian^3

    Description

      the example code in http://doc.qt.nokia.com/qtmobility-1.1/qml-documentgallerymodel.html does not work on Symbian^3

      the error is :
      Application running with pid 1525.
      [Qt Message] file:///C:/Private/e4c71a9c/qml/Document/main.qml:30:16: QML DocumentGalleryModel: The value of filter is unsupported

      import Qt 4.7
      import QtMobility.gallery 1.1
      
      Rectangle {
          width: 1024
          height: 768
      
          GridView {
              anchors.fill: parent
              cellWidth: 128
              cellHeight: 128
      
              model: DocumentGalleryModel {
                  rootType: DocumentGallery.Image
                  properties: [ "url" ]
                  filter: GalleryWildcardFilter {
                      property: "fileName";
                      value: "*.jpg";
                  }
              }
      
              delegate: Image {
                  source: url
                  width: 128
                  height: 128
              }
          }
      }
      

      Please check the test example project.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            satu.m.makela satu makela
            zhouhl zhou honglei
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes