Details
-
Task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
Hi,
I use the CLASS keyword in a rep file like this:
class Foo{ PROP(double x) PROP(double y) }; class Bar{ CLASS foo(Foo) };
The Source and the Replica of the Bar class are then connected with enableRemoting() and acquire() and a unique name parameter is used.
The problem is now that as soon as i want to connect a second instance of the Bar class the following assert appears:
ASSERT: "m_state < QRemoteObjectReplica::Valid || m_state == QRemoteObjectReplica::Suspect" in file qremoteobjectreplica.cpp, line 216
This has s.th. to do with the nested foo object. If I look at the created source and replica class, the member name will be used as parameter for the connection (foo in this case). Could it be that the error happens because the name is no longer unique when i try to connect a second Bar instace? If so, it would be good if the name could be changed.