[Interest] How can i animate Layout.preferredWidth and friends?

Saether Jan-Arve Jan-Arve.Saether at digia.com
Wed Oct 2 11:51:32 CEST 2013


Of course it should not crash.
I get an ASSERT: "mo" in file qml\qqmlvme.cpp, line 849 (this is with current stable branch though).

I'm a bit curious to know why do you want to animate that property?
What do you want to achieve?

Jan Arve

From: interest-bounces+jan-arve.saether=digia.com at qt-project.org [mailto:interest-bounces+jan-arve.saether=digia.com at qt-project.org] On Behalf Of Mark
Sent: 30. september 2013 01:40
To: Qt Interest
Subject: [Interest] How can i animate Layout.preferredWidth and friends?

Hi,

I thought something as simple as:

            Behavior on Layout.preferredWidth {
                NumberAnimation { duration: 1000 }
            }

would do.. Apparently not since it crashes qmlscene..
Do i need to do it differently or did i just hit a bug?

Version details:
Qt 5.1.0 x64 (i know, 5.1.1 is out)
Mac Mountain Lion fully updated

Cheers,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131002/57db1c51/attachment.html>


More information about the Interest mailing list