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..
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..
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.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
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.
Then read about it in the documentation first.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
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.
Its a Qt feature:
http://doc.trolltech.com/4.7/resources.html
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
thanx.. this was helpful... i thought it belong in the qt designer and qdevelop...
Bookmarks