Important: Please read the Qt Code of Conduct -

Qt Remote Object read PROP not working ... only onChange

  • Hi guys,

    I'm doing first steps with QtRemoteObjects right now.
    While a signal-slot communication is working I have problems with PROPs.
    For an easy test I added

    PROP(int testValue);

    to my rep file.
    On my simpleSource I call setTestValue(2) on startup.
    On my replica I call on startup:

    qDebug() <<>testValue();

    I would expect an output of "2" but it's zero.
    It seems that props are only exchanged on notification not on demand.


Log in to reply