Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Future release
-
None
-
macOS 10.13.1
Qt 5.10.0
Description
- Edit the QT remoteobjects example, directconnectdynamicclientDynamicClient::recSwitchState_slot; add an extra character to the requested property name to make it invalid (as below)
void DynamicClient::recSwitchState_slot(bool value)
{
clientSwitchState = reptr->property("currStateX").toBool(); // use replica property to get "currState" from source qDebug() << "Received source state " << value << clientSwitchState; Q_EMIT echoSwitchState(clientSwitchState); // Emit signal to echo received state back to server
}- Run directconnectserver.
- Run directconnectdynamicclient in debugger.
- Note crash occurs in QMetaObject::indexOfProperty
Expected behaviour - indexOfProperty returns -1