Ooops, it seems it really was typo in my code, that's why i was not
working.
Now it works.
On 2/24/2020 4:22 PM, Alexander Dyagilev wrote:
Sorry, there is a typo in the last line: app.setWindowIcon(pm) instead
of app.setWindowIcon(icon).
On 2/24/2020 4:20 PM, Alexander Dyagilev wrote:
QIcon icon(":/icon.ico");
auto pm = icon.pixmap(QSize(32,32));
app.setWindowIcon(icon);
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest