[Qt-interest] icons

John McClurkin jwm at nei.nih.gov
Mon Dec 13 13:13:20 CET 2010


Szalata, Zenon M. wrote:
> I am very new to QT.  I have installed QT 4.7 and am learning how to use 
> the designer.  I am experimenting with main window widget.  I have 
> created a main window, added a couple of menus in the menu bar.  Then I 
> wanted to add the actions which got created for the menu items to the 
> tools bar and it seems that the designer does not know where to get 
> icons that could be used with the actions.
> 
>  
> 
> Looking at the directory tree where I have installed QT, I find many 
> *.png files.  How do I configure the designer to use the appropriate 
> directory containing icons? 
> 
>  
> 
> I am following the exercise in “The Book of QT4: The Art of Building QT 
> Applications” by Daniel Molkentin.  The exercise is to build a small 
> text editor.  It needs icons for New, Open, Save, Cut, Copy, Paste, etc.
> 
> When I put the Action Editor in Icon View I see only empty squares.
> 
>  
> 
> Thanks in advance.
> 
> Zen
> 
Check out the chapter "The Qt Resource System" in Qt Assistant.



More information about the Qt-interest-old mailing list