qt - Qt4 how to add 16px/32px/... icons for my application? -


How can I set up my QT application? Do I have to provide 16px, 32px icon and so on? Or can QT automatically change their size to fit current needs?

EDIT: It appears that you click the window icon of the top-level window. Window icon can be set using QWidget :: setWindowIcon () , and set the default icon for new window by using QApplication :: setWindowIcon () Could. If your source image is of a high enough resolution, QT will automatically resize this icon to make itself fit for all events.

The description is in Qt, which includes information about setting up an embedded icon of AEM. File or OS X application.

Comments