WARNING: KDE detected X Error

Andy Brice andyb1 at btclick.com
Tue Jan 13 16:09:56 GMT 2004


> On Tuesday 13 January 2004 16:51, Andy Brice wrote:
> > I have finally managed to replicate it reliably.  It comes up whenever
the
> > KHtmlPart 'Server authentication' window appears. But it doesn't get
trapped
> > by my_x_errhandler().
> >
> > Would my_x_errhandler() pick up any X error created by KHtmlPart in a
> > separate thread?
>
> You can NOT use Qt GUI stuff from more than one thread!!!
>
> All the Qt code that uses X must be in the main thread, see the Qt
documentation.

My app is single threaded. I was just wondering if the X error might be
created by another thread started within KHtmlPart. Otherwise I don't
understand why my_x_errhandler() isn't intercepting the X error.

Andy Brice






More information about the kfm-devel mailing list