Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to set icon on Qlabel in pyside2
yashi95 last edited by
I try to display an icon on the label please provide some solution ho to show below my code how I trying to display.
self.lableImg = self.embeddedAppUpdate.findChild(QLabel, "lbl_img")
There is nothing more to it than setPixmap.
If nothing shows its most likely due to path.
you are using icon/exit.png
try with full path and see.
and then maybe consider using a QRessouce file to hold the png's