Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2011

    QML gridView crahes

    I'm using a Qml-GridView to show a set of images. I'm passing across a model dynamically from C++, of list items containing urls of images to be displayed. The urls are web based and not locally stored images. The gridview behaves smartly and starts loading images for grids which are visible on screen. For example, if I have 1500 images and currently have scrolled upto 500, it starts fetching images from 500. However, when I close the page, it crashes. I observed, it crashes only when the grid view has not finished fetching images for the current scree, i.e. while it is fetching and I close the page, the qml-qt code crashes internally. If before closing the page, I wait for a while and allow the images to be fetched, it works fine. I also tried to delete the page after a delay of 5 seconds, ie. I hide the page, show the new relevant page and then in background after 10-15 seconds try to delete the page assuming the images have been fetched by now. However, the code still crashes. Attached is a print-screen of the call-stack on crash.

    Please help me resolve this. I've just started using qml.


  2. #2
    Registered User
    Join Date
    Jan 2009

    Re: QML gridView crahes

    HI mots_g,

    Perhaps you can go for some R&D with the photoviewer(Qt quick) example in Qt demos.

    Hope this will help you...
    Viral Parmar

  3. #3
    Super Contributor
    Join Date
    Mar 2009

    Re: QML gridView crahes

    Without seeing a backtrace it's hard to say what's wrong.

Similar Threads

  1. How to call/load another QML file from QML ?
    By cadlg in forum [Archived] Qt Quick
    Replies: 5
    Last Post: 2011-07-28, 09:15
  2. [Qt QML] Questions regarding QML Performance
    By SeanZhang in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-05-05, 13:07
  3. CameraWrapper orientation change crahes
    By chandran.biju007 in forum Symbian
    Replies: 12
    Last Post: 2010-06-25, 17:15
  4. does Nokia WRTkit have any class like GridView?
    By GoOnDeveloper in forum Symbian
    Replies: 5
    Last Post: 2010-04-27, 03:34
  5. How to adjust Font in Gridview?
    By chirag_cel in forum Symbian
    Replies: 8
    Last Post: 2007-12-07, 04:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts