Adding Icons in UI
Unsolved
Qt Creator and other tools
-
I am using open source QT Creator 4.8.x. built on 5.9 QT. I am trying to implement a standard icon using the UI designed with QT Creator. I can add the standard Icons using code to generate the Icon, but I can not find a way to do it from the UI editor for a QPushbutton. I find the icon property in the designer, but I do not know how to select a standard Icon. I see that I could browse to something, but it is empty. Am I missing a setting or something.
-
@dencla You need to create and add a ressource file to your project. In the ressource file you can add all the icons. After that, they will be available in the designer as well. for more information , check this https://doc.qt.io/qt-5/resources.html