[Interest] Linux: can't get small icon from QIcon

Alexander Dyagilev alervdvcw at gmail.com
Mon Feb 24 19:49:37 CET 2020


QIconicon(":/icon.ico");

#ifdefined(Q_OS_LINUX)&&!defined(Q_OS_ANDROID)

icon=icon.pixmap(QSize(48,48));

#endif

app.setWindowIcon(icon);

On 2/24/2020 7:32 PM, Thiago Macieira wrote:
> On Monday, 24 February 2020 05:32:06 PST Alexander Dyagilev wrote:
>> Ooops, it seems it really was typo in my code, that's why i was not
>> working.
> Can you share what the correct code is?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200224/ca33a4aa/attachment.html>


More information about the Interest mailing list