×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    66

    The Background image of screen(Widge) get disappear after some transaction of screens

    Hello friends....
    My application get crashed after some transactions of screens....., first the background image get disappear and get black and then the application get crashed with memory full error.....
    I think its due to so many images in .qrc (resources) file or due to so many screens in application,is there any limitations for no. of images and screens.

    pls tell me if you found any fix for this error.......
    ..

  2. #2
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Re: The Background image of screen(Widge) get disappear after some transaction of scr

    welcome in the club
    I think its due to so many images in .qrc (resources) file or due to so many screens in application,is there any limitations for no. of images and screens.
    yes it is .. you should find a better strategy than loading all that images at once ... try lazy loading and deallocate as possible ... the good news is that makes memory errors disappears

    I forget : also using QImageReader makes loading big image more safe
    Last edited by lucarocchi; 2011-02-16 at 18:40.
    Keep it simple, stupid
    borg - http://store.ovi.com/content/116105

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: The Background image of screen(Widge) get disappear after some transaction of scr

    second suggestion would be to use something like QStackedWidget as your base window so that the memory management of views is proper.

  4. #4
    Registered User
    Join Date
    Mar 2009
    Location
    Italy
    Posts
    153

    Re: The Background image of screen(Widge) get disappear after some transaction of scr

    third suggestion use a light image (such as jpg) and avoid to show it as scaled content!
    Merry Christmas Tombola! available on OVI Store!
    SuperDaddy available on OVI Store!

    QT VirtualKeyboard: http://qt-apps.org/content/show.php/VirtualKeyboard?content=107388
    Crack Generator: http://qt-apps.org/content/show.php/MosaicCrack?content=121832

Similar Threads

  1. how tp change the background image of a screen
    By anup007star in forum Symbian
    Replies: 6
    Last Post: 2009-05-26, 13:32
  2. Replies: 2
    Last Post: 2009-05-22, 12:11
  3. How to get the image of current screen/canvas?
    By joykeyer in forum Mobile Java General
    Replies: 2
    Last Post: 2008-06-06, 18:04
  4. How to get rid of the Border of the Font in the Main Display of the 6131?
    By glod.glodson in forum General Development Questions
    Replies: 0
    Last Post: 2007-10-24, 07:19

Posting Permissions

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