Hi,

On 27/01/2011, at 6:57 AM, ext [email protected] wrote:
> One of my state definitions triggers this error
> <Unknown File>: QML StateGroup: Can't apply a state change as part of a state 
> definition.
> and I can't quite work out why. 
> 
> Is it the case that no part of the state definition (like a PropertyChange) 
> may have *any* 
> effect (direct or indirect) on a property that is part of a "when" expression 
> determining 
> what the current state is?

No part of a state definition should trigger an additional state change (for 
that particular stategroup), as the state machine can't handle changing from 
one state to another until it has completely entered the first state. You might 
be able to get some useful debug information using the environmental variable 
STATECHANGE_DEBUG (set to 1) -- it should be able to at least tell you the 
second state that is being triggered.

Regards,
Michael
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to