Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User HellStranger's Avatar
    Join Date
    Oct 2011
    Posts
    93
    Hi!

    Can anyone help me?

    I have wrote Qt app. Qt libraries version is 4.7.3. App has over 12 Mb image resources.
    Whenever I try execute this app on Symbian^1 device (Nokia 5250 and Nokia 5800 XpressMusic.), it was crashed with the message "Error: 'Failed to create the process (verify that the executable and all required DLLs have been transferred) (an attempt to allocate memory has failed)' Code: -4". If I remove some amount of resources from my app, it wasn't crashed. How I can correctly deploy this amount of resources in my app? There is any limitations to app size or app data block size? And how I can avoid this restrictions?

    What is the reason?

  2. #2
    Regular Contributor teemup's Avatar
    Join Date
    May 2010
    Posts
    362
    Unfortunately currently the Qt Creator handles resources (in qrc files) so that they are included in the EXE, thus making it very big.

    What kind of resources are you using? If you are using images, you could simply include them as files and load them from there.

  3. #3
    Registered User HellStranger's Avatar
    Join Date
    Oct 2011
    Posts
    93
    Thank's!
    How I can add my images to the application .sis file?

  4. #4
    Regular Contributor treinio's Avatar
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329
    Quote Originally Posted by HellStranger View Post
    How I can add my images to the application .sis file?
    By using DEPLOYMENT in your .pro file.

    Code:
    # Add all files from the images subfolder into sis package
    imageFiles.sources = images/*
    # imageFiles.path = ...
    DEPLOYMENT += imageFiles
    Above, no path is defined, so the default deployment folder (your application's private folder) is used. In your code, you can refer to the images with just the filename, no path information needed.

  5. #5
    Registered User HellStranger's Avatar
    Join Date
    Oct 2011
    Posts
    93
    Thank you very much for rapid response!
    My images are placed into the local folder "images/illustrations" into the my project directiry.

    This is the sceleton of my .pro file:

    Code:
    imageFiles.source = images/illustrations/*
    symbian:DEPLOYMENT += imageFiles
    Images hasn't deployed in the .sis file.
    Where I have mistaken?
    Last edited by HellStranger; 2011-11-03 at 13:09.

  6. #6
    Registered User HellStranger's Avatar
    Join Date
    Oct 2011
    Posts
    93
    I have forgotten character 's'. imageFiles.sourceS!!!

Similar Threads

  1. Device Resources
    By narseo in forum Mobile Java General
    Replies: 1
    Last Post: 2009-06-17, 19:48
  2. Resources not released
    By Simron in forum Symbian C++
    Replies: 4
    Last Post: 2009-02-02, 10:26
  3. without resources
    By WaelA in forum Symbian C++
    Replies: 3
    Last Post: 2006-10-31, 16:34
  4. Dialog without resources
    By joker71 in forum Symbian C++
    Replies: 2
    Last Post: 2003-12-16, 15:16

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