QWebPage in a different thread
Locked
Qt WebKit
-
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
-
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/