Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Background-image(of PushButton) not showing in app



  • I perfectly add .png image to my resource file dir. Then i right-clicked on my PushButton and choose change StyleSheet, add background img, everything fine:

    background-image: url(:/Images/Settings-icon.png);
    

    Now in Qt designer i can see my image on that button as planned, but when i compile and run the program - my button is naked!



  • Em... i Wake up today, and now image on button displays even in app, must be a bug or i dont know...


Log in to reply