PDA

View Full Version : Qt Designer icon not pass to QDevelop



xeroblast
26th November 2010, 09:57
hi,

i created a pushbutton with an icon in designer and it is ok in preview mode in designer but when i build it in QDevelop, the icon is gone.

could you tell me what am i missing?

thanx..

high_flyer
26th November 2010, 10:09
What are you using for the icon path?
Do you use a resource file or do you give the path explicitly?

This sounds like a path resolution problem.

xeroblast
26th November 2010, 10:46
i only use the designer to select the file.

i dont know about icon path or resource file?

im so sorry, i just started it today.

high_flyer
26th November 2010, 10:47
Then read about it in the documentation first.

xeroblast
26th November 2010, 10:50
i already read the documentation of both (qt designer & qdevelop) but it never states on how the designer set icon can be pass to a qdevelop.

high_flyer
26th November 2010, 11:12
Its a Qt feature:
http://doc.trolltech.com/4.7/resources.html

xeroblast
26th November 2010, 12:03
thanx.. this was helpful... i thought it belong in the qt designer and qdevelop...