[PyKDE] QTextBrowser: no mimesource for

Roberto Alsina ralsina at kde.org
Tue Mar 30 21:49:00 BST 2004


> Yes, I tried it out as well and it seg faulted on embedded graphics for me
> too.

Version of PyQt, Qt, and a backtrace would be nice to have.


>
> On March 30, 2004 02:11 pm, Detlev Offenbach wrote:
>> 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
>


-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  ralsina at kde.org
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.'             Buenos Aires - Argentina
Imminentizing the eschaton since 1971.




More information about the PyQt mailing list