[PyKDE] QTextBrowser: no mimesource for

Detlev Offenbach detlev at die-offenbachs.de
Tue Mar 30 21:13:00 BST 2004


Hello,

I tried your program and it crashes terribly (seg fault) after it has 
loaded a couple of pages with embedded graphics over the web.

Detlev
Am Dienstag, 30. März 2004 14:29 schrieb Roberto Alsina:
> > Hello
> >
> > I want show html file (from internet and local filesystem) in my
> > PyQT application.
> > QTextBrowser-Widget  should do it.
> >
> >  When i load (setSource) a html i get always:
> > "QTextBrowser: no mimesource for x.html"
> > and a blank Textbrowser.
> >
> > I test a few things (set my own mimefactory.....) but i get always
> > the same result. I search within internet and found 6 similar
> > postings on different mailinglist/newsgroup, but no answer or
> > working codeexample. What's wrong ?
> >
> > Please help me.
> > Please post a working code example if possible.
>
> Don't know what your problem is, but I have written something that
> uses a QTextBrowser and extends it somewhat:
>
> "PyBrowser: a nicer QTextBrowser" :-)
>
> http://www.pycs.net/lateral/stories/17.html

-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list