>From the qt document, QWebView.load() takes a QUrl to load 
>page. However, it seems that QUrl can not point to resources 
>file (html/css/javascript) bundled in my application. So 
>QWebView can not load pages that bundled in the resources. Do 
>I understand it correctly? or how qt meets this requirements?

I'm not wise enough to answer this question so leave it to others to answer.
If I understood correctly you want to load URL/resource that is built into the 
executable.
If I just pull it out of the hat you could try loading it with 
QUrl::fromLocalFile

For the bgcolor issue since the windows style works you can use following hack 
to enable it also on s60 style:

QWebView* view = new QWebView();
QPalette palet = view->palette();
palet.setColor(QPalette::Base,QColor("White"));
view->setPalette(palet);

or add <body bgcolor="white"> into your HTML.

-Janne
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to