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); > >