Re: [Interest] Update QWebElement from different threads

2016-03-03 Thread Thiago Macieira
On quinta-feira, 3 de março de 2016 14:01:31 PST Freddy Martinez Garcia wrote: > is that possible ??? what is the best way to do that It's not possible to modify any UI from outside the UI thread. You need to sync back to the main thread via a queued connection or via an event and do that from t

[Interest] Update QWebElement from different threads

2016-03-03 Thread Freddy Martinez Garcia
Hi guys... I need to update a QWebElement from different threads... Imagine that I have the following statement: QString htmlElemCode = "Hello World"; QWebElement elem = webFrame->findFirtsElement("#body_div"); elem.appendInside(htmlElemCode); well, I need to run elem.appendInside(htmlElemCode)