<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QRemoteObjectReplica.Suspect when busy in while loop]]></title><description><![CDATA[<p dir="auto">I'm working with QRemoteObjectReplica and QRemoteObjectPendingReply::waitForSource function and found out that a while loop (~10sec) in the replica class function causes its state to go from QRemoteObjectReplica::State::Valid to QRemoteObjectReplica::State::Suspect after some seconds and i never receive a replica-&gt;isFinished() event on the connected node side.<br />
Is there a way to keep my replica valid/responsive for the other side while its busy with a while loop?<br />
Something like repetitive calls  QCoreApplication::processEvents()?</p>
]]></description><link>https://forum.qt.io/topic/163382/qremoteobjectreplica.suspect-when-busy-in-while-loop</link><generator>RSS for Node</generator><lastBuildDate>Sat, 01 Aug 2026 11:40:19 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163382.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Sep 2025 09:43:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QRemoteObjectReplica.Suspect when busy in while loop on Tue, 30 Sep 2025 11:46:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a><br />
The loop has something to do with a special libusb device waiting to be established etc.<br />
I don't want to change the logic of this code (not from me).<br />
Just want to wrap the QRemoteObjectReplica class around it, call it from the connection and wait until its finished<br />
with QRemoteObjectPendingReply<br />
But i guess it works only if the function returns "immediately".</p>
]]></description><link>https://forum.qt.io/post/832226</link><guid isPermaLink="true">https://forum.qt.io/post/832226</guid><dc:creator><![CDATA[majorRonk]]></dc:creator><pubDate>Tue, 30 Sep 2025 11:46:47 GMT</pubDate></item><item><title><![CDATA[Reply to QRemoteObjectReplica.Suspect when busy in while loop on Tue, 30 Sep 2025 11:01:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/majorronk">@<bdi>majorRonk</bdi></a> Why do you need a loop?</p>
]]></description><link>https://forum.qt.io/post/832225</link><guid isPermaLink="true">https://forum.qt.io/post/832225</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 30 Sep 2025 11:01:50 GMT</pubDate></item></channel></rss>