Re: [webkit-qt] QtRuntimeObject problem

2011-09-09 Thread noam . rosenthal
it-qt-boun...@lists.webkit.org [webkit-qt-boun...@lists.webkit.org] On Behalf Of ext Kang Liu [tomsheep...@gmail.com] Sent: Thursday, September 08, 2011 8:17 PM To: webkit-qt@lists.webkit.org Subject: [webkit-qt] QtRuntimeObject problem Hi, I am using QtWebkit in my product, and yesterday I got a strange proble

[webkit-qt] QtRuntimeObject problem

2011-09-08 Thread Kang Liu
Hi, I am using QtWebkit in my product, and yesterday I got a strange problem. I tyied to Inject objects into javascript environment in this way: There are two QObjects I want to injcect, named "A" and "B", and A is the parent of B. QObject *A = ... QObject *B = ... B->setParent(A); A->setObjectNa