QWebPage in a different thread



  • 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 thread

    I 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/


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.