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!
Printable View
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.
You need to create a .desktop file for your application and deploy it in the system.