[Interest] [Qt6] QML notify dynamic property changes from C++
Konstantin Shegunov
kshegunov at gmail.com
Mon Mar 7 11:20:10 CET 2022
On Mon, Mar 7, 2022 at 12:05 PM Ulf Hermann <ulf.hermann at qt.io> wrote:
> Sorry, it's called:
> void insert(const QString &key, const QVariant &value);
>
Just checked in the debugger, but calling it doesn't appear to update the
value C++-side even.
In order to further examine this we
> would need a minimal example to reproduce the problem.
>
Sure, I'm going to try and prepare a testcase sometime later this week.
On a related note, I'd suggest including an iterator/const_iterator for the
QQmlPropertyMap for convenience, and also it could possibly handle this
sort of value change in a more streamlined manner.
Kind regards,
Konstantin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20220307/a249ea5a/attachment.htm>
More information about the Interest
mailing list