[Interest] Setting an QObjects dynamic property from another thread

Philipp Kursawe phil.kursawe at gmail.com
Thu Jan 30 16:51:41 CET 2014


Such operation should be possible, yet it fails cause setProperty calls:

QDynamicPropertyChangeEvent ev(name);
QCoreApplication::sendEvent(this, &ev);

sendEvent cannot be called from another thread the object does not belong
to. Is this a bug? Shouldn't that be postEvent instead?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140130/c7387a60/attachment.html>


More information about the Interest mailing list