Qt5 linux how to set window icon image
问题 I have a UI I have designed in Qt designer and have written the code in c++. I am using catkin, which is just cmake, to build my project. Currently when the program is launched, the application icon looks like, .I would like to have that be an image that I specify, but have been unable to figure out how to get this to work. My project directory structure looks like the following package |--CMakeLists.txt |--src |--main.cpp |--MainWindow.cpp |--resources |--images |--kitty.png |--icons.qrc |-