Results 1 to 2 of 2

Thread: Using embedded resources (icons) in Qt designer

  1. #1
    Join Date
    Jun 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Using embedded resources (icons) in Qt designer

    Hi,

    Using Qt designer under Eclipse, I am trying to assign an icon to a Tool Button which is done via the the resource manager (which crops up automatically). I know how to create a .qrc file and add my own icons to it, but how can I get to see the embedded Qt icons in there (like mentioned in your "Embedded resources" Wiki article)? Must I copy the ones I want to use from src/gui/styles/images to my project folder and then add them to my resources file? Surely, as they are supposedly already build in, I should be able to access them without doing this?

    Thanks
    ahenric

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Using embedded resources (icons) in Qt designer

    Yes, you can, if you know the path to a particular item in the resource tree (which you need to check manually in Qt source tree).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QSound and embedded resources
    By baray98 in forum Qt Programming
    Replies: 4
    Last Post: 19th May 2017, 13:38
  2. Plugin embedded resources fails to load
    By deadbird in forum Qt Programming
    Replies: 1
    Last Post: 10th June 2011, 21:09
  3. Problem with embedded resources under windows xp?
    By Kumosan in forum Installation and Deployment
    Replies: 1
    Last Post: 8th October 2008, 08:50
  4. Resources cannot be read under Designer
    By Flakes in forum Qt Tools
    Replies: 1
    Last Post: 24th January 2008, 08:28
  5. Replies: 9
    Last Post: 11th January 2007, 15:34

Tags for this Thread

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.