As QIcon isn’t a gadget, you will probably need to make model roles for name
and source and assign those to the QQuickIcon’s properties instead.
From: Interest on behalf of ivan tkachenko
Date: Sunday, 29 May 2022 at 22:33
To: interest@qt-project.org
Subject: [Interest] QIcon vs QQuickIcon
Hi
Hi,
I have a problem which sounds like it should be something trivial.
I got a QIcon icon, aquired from a model by a delegate. How do i use it in
controls with all these icon.name [string], icon.source [url] groupped
properties or even with just an Image type?
All sane attempts failed. I'm lef