Results 1 to 17 of 17

Thread: diffrent resouce file at run time

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: diffrent resouce file at run time

    Quote Originally Posted by bartarya.parul View Post
    yes, i want to load resourc file at run time ,this is because i m try to develop high dpi application .and in my application i m set image at label.but after high dpi my image looks streched.thats y i want to load two diffrent resouce file at run time(normal, high dpi)with diffrent image sizes .
    thanku
    That would be possible with both images compiled in so I wanted to check if this is about loading resource files :-)

    http://doc.qt.io/qt-5/resources.html...nary-resources

    Cheers,
    _

  2. #2
    Join Date
    Sep 2015
    Posts
    28
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: diffrent resouce file at run time

    how to add images in .rcc file.

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: diffrent resouce file at run time

    I am afraid I don't understand the question.

    You add images to a Qt resource file like any other file.

    Maybe you should read the whole section in the documentation on resources?

    Cheers,
    _

  4. The following user says thank you to anda_skoa for this useful post:

    bartarya.parul (22nd July 2016)

Similar Threads

  1. QIcon Active-/Normal Mode have no diffrent effect
    By cic in forum Qt Programming
    Replies: 0
    Last Post: 4th September 2013, 09:49
  2. Replies: 1
    Last Post: 11th November 2009, 12:22
  3. Replies: 0
    Last Post: 6th March 2009, 08:19
  4. How to set the file's date and time.
    By santosh.kumar in forum General Programming
    Replies: 3
    Last Post: 12th October 2007, 11:13
  5. converting file formats at run time
    By Aditi in forum Qt Programming
    Replies: 1
    Last Post: 27th September 2006, 10:31

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
  •  
Qt is a trademark of The Qt Company.