Hi:
How do you access the icon in a resource file to use it as Form's icon?
// resource.rc
IDI_MAIN DISCARDABLE "app.ico"
I want to use IDI_MAIN to set it in setWindowIcon(), thanks.
Hi:
How do you access the icon in a resource file to use it as Form's icon?
// resource.rc
IDI_MAIN DISCARDABLE "app.ico"
I want to use IDI_MAIN to set it in setWindowIcon(), thanks.
The doc is your friend:
http://doc.qt.io/qt-5/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.
Bookmarks