WARNING: KDE detected X Error

David Faure faure at kde.org
Tue Jan 13 15:56:02 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.

-- 
David FAURE, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list