Hello,

When a QWebView tries to load a .html in a resource file it does not work.

   The resource (.qrc) is converted help to pyside-rcc.

  When I try to load the file (not as a resource) it is workink well.
        self.webView.load(QUrl('localisation.html'))

But in the resource file : self.webView.load(QUrl(':/web/localisation.html')) it is not working.

I also add a .png in the resource file to add an QIcon to my Window and it is working when using it : QIcon(':/picture/icon.png')

Probably I'm doing something wrong but I don't know what !

Thanks to help me.

Hervé Venzac

_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to