[Qt] QPixmap::handle(): Pixmap is not an X11 class pixmap

Juha (gmail) juha.manninen62 at gmail.com
Fri Apr 22 15:25:17 CEST 2011


zeljko kirjoitti perjantai, 22. huhtikuuta 2011 09:03:38:
> > I am still getting it all the time from Lazarus itself when I open a menu
> > item or dialog.
> 
> Look at qt implemenation below. That comes from function which isn't called
> from qtlcl, but from qt.It's just warning that passed data isn't valid X11
> object. I cannot get such warning.You said that it happens when you open an
> menu or dialog, so it's easy to see if it's qtlcl or qt problem.There's
> only one function inside qtlcl which draws image (qtobjects ->
> TQtDeviceContext.drawImage). Put there an writeln and see if warning comes
> after that function is called.

A strange thing happened (again). I placed a DebugLn there and didn't see the 
error any more. Then I removed the DebugLn and still I don't see the error.
It will possibly remain a mystery.

Juha




More information about the Qt mailing list