QWebPage in a different thread
-
wrote on 31 May 2011, 16:38 last edited by
Hi everyone. I trying to create a QWebPage object in a separate thread and it gives me the following error:
bq. ASSERT failure in QWidget: "Widgets must be created in the GUI thread."
Invalid parameter passed to C runtime function.
Invalid parameter passed to C runtime function.
QObject::killTimers: timers cannot be stopped from another threadI see that QwebPage inherits QObject. What is the problem and what I need to do to fix it.
Thanks
-
wrote on 31 May 2011, 19:41 last edited by
QWebPage uses GUI elements. It must live in the GUI thread.
Please close this as a duplicate of http://developer.qt.nokia.com/forums/viewthread/6429/
1/2