[Interest] Linux: can't get small icon from QIcon
alervdvcw at gmail.com
Mon Feb 24 14:32:06 CET 2020
Ooops, it seems it really was typo in my code, that's why i was not
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));
More information about the Interest