Results 1 to 5 of 5

Thread: resource file

  1. #1
    Join Date
    Aug 2009
    Posts
    47
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded PyQt3 PyQt4
    Platforms
    Unix/X11 Symbian S60

    Default resource file

    Hi..

    i have some doubt in QtResource file system. As of my knowledge i comes to know whatever we are listing inside we may get it into our project. Is any options to load the processed data into resource file as dynamically.

    pls reply me

    Thanks in advance
    SivaKumar

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: resource file

    From Qt Docs:
    QResource is an object that represents a set of data (and possibly children) relating to a single resource entity. QResource gives direct access to the bytes in their raw format. In this way direct access allows reading data without buffer copying or indirection. Indirection is often useful when interacting with the resource entity as if it is a file, this can be achieved with QFile. The data and children behind a QResource are normally compiled into an application/library, but it is also possible to load a resource at runtime. When loaded at run time the resource file will be loaded as one big set of data and then given out in pieces via references into the resource tree.

  3. #3
    Join Date
    Aug 2009
    Posts
    47
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded PyQt3 PyQt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: resource file

    Thanks to you,

    But i have some doubt still now pls give me some example to following scenario
    i have a button when i am clicking it will browse the picture file lke that i will browse upto 200 pictures.when i am restart the application i need the pictures in my application as default pls help me

    Thanks in advance
    SivaKumar

  4. #4
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: resource file


  5. #5
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: resource file

    http://qt.nokia.com/doc/4.5/resources.html <= "External Binary Resources"
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. resource file name problem in generated code
    By acpRobert in forum Qt Tools
    Replies: 0
    Last Post: 26th April 2009, 02:06
  2. Replies: 9
    Last Post: 9th April 2009, 06:49
  3. Resource file in Qt4.4.0
    By jml in forum Qt Tools
    Replies: 0
    Last Post: 6th May 2008, 18:01
  4. How to include qrc resource file in Visual Studio 2005?
    By jambrek in forum Qt Programming
    Replies: 18
    Last Post: 8th February 2008, 18:26
  5. Client/Server Error: BadIDChoice
    By 3nc31 in forum Qt Programming
    Replies: 5
    Last Post: 27th November 2007, 10:22

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.