Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User mots_g's Avatar
    Join Date
    Feb 2011
    Posts
    21
    Hi.
    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.

    Thanks,
    Mots

  2. #2
    Registered User mind_freak's Avatar
    Join Date
    Jan 2009
    Location
    ભારત->ગુજરાત->ભાવનગર
    Posts
    271
    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...
    Regards
    Viral Parmar

  3. #3
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    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 C++
    Replies: 12
    Last Post: 2010-06-25, 17:15
  4. does Nokia WRTkit have any class like GridView?
    By GoOnDeveloper in forum Symbian Web Runtime
    Replies: 5
    Last Post: 2010-04-27, 03:34
  5. How to adjust Font in Gridview?
    By chirag_cel in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved