[Interest] Setting the value in a delegate from a timer

Luca Carlon carlon.luca at gmail.com
Mon May 22 09:38:45 CEST 2017


It seems that reverting 3cc589c in qtdeclarative makes it more stable. I
see that QQmlListModel::get creates new values, not sure if/when those are
freed.

Luca

On Sun, May 21, 2017 at 12:32 AM, Luca Carlon <carlon.luca at gmail.com> wrote:

> Hello! I extracted this little sample code not behaving like I would
> expect in recent Qt versions: https://pastebin.com/TdCf3Kr2. Is this code
> "legal"? What I see is that it behaves properly in Qt 5.5 but not in Qt
> 5.8.0 for instance. I built 5.8.0 from git on Linux and I see it
> immediately seems to leak considerable amount of memory. Can someone else
> reproduce this? Is the code wrong? Should I change the value in the
> delegate from the timer some other way maybe?
> Thank you for any hint.
>
> Luca
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170522/ac461b33/attachment.html>


More information about the Interest mailing list