Results 1 to 2 of 2

Thread: Do resources in QRC files consume memory?

  1. #1

    Default Do resources in QRC files consume memory?

    I am writing an application that will have many images in it. Probably 15MB or so. I know it will make the executable large. However, will it consume more RAM?

    I do not know the mechanism of resource files. I assume binaries have areas for data and that is where files are stored. So, instead of loading it in memory the program just parses it out of its own binary file. Is this correct or does it actually load it in memory?

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Do resources in QRC files consume memory?

    I believe the current version of Qt stores all resources directly in the executable via standard C arrays, regardless of whether the host OS supports native resources or not.

Similar Threads

  1. Problem in building outside source directory(loading qrc files fails)
    By Jayakrishnan in forum Installation and Deployment
    Replies: 3
    Last Post: 17th October 2009, 16:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.