hi guys!
I would like to know how to add an Icon to an executable QT file in linux. Should I modify the .pro file?
Is there any method that could change it?
Thanks!
hi guys!
I would like to know how to add an Icon to an executable QT file in linux. Should I modify the .pro file?
Is there any method that could change it?
Thanks!
What did you try till now ?
You can set the icon with QApplication::setWindowIcon and embedd the icon as a resource in qrc.
Last edited by wysota; 15th June 2010 at 00:35.
You need to create a .desktop file for your application and deploy it in the system.
Bookmarks