[Qt-jambi-interest] Multiple instances of QWebView

Serg_HD serg_hd at mail.ru
Fri Dec 4 15:32:32 CET 2009


Good day,
How I can use QWebView with method load() in threads?
I have create QWebView in main(!) thread, but I can't use load() with QWebView (used signals/slots from other threads to 
do it):

QWebView wv = new QWebView(); //ok 
QUrl url = new QUrl("http://somesite.com/"); //ok 
wv.load(url); //ERROR: QObject: Cannot create children for a parent that is in a different thread.

In c++ it work. Please, help me!

p.s. sorry for my English



More information about the Qt-jambi-interest mailing list