PDA

View Full Version : How to display Icon in a .exe File in Qt



owais_blore
13th December 2012, 12:50
I am working on a Qt app where I need to display some UI and perform operation on them. When i run the application it creates a .exe in my debug/release folder. I want to put the icon in the .exe file rather than a blank icon which appears by default.

Is their a way one can do it in .ui file or we need to do it programmatically? I am kinda sure I need to use a resource file and store the image there. I tried to search for some more details but couldn't figure out anything related to Qt. Please help :)

alainstgt
13th December 2012, 13:34
just take a look at
http://qt-project.org/doc/qt-4.8/appicon.html
Notice that you have a search function in your documentation, further a look to the documentation should always be your first task. Qt has an excellent documentation.