[Kde-bindings] Qyoto ARGB windows using C++ QApplication hack: crashes

Richard Dale rdale at foton.es
Fri Feb 29 18:43:07 UTC 2008


On Friday 29 February 2008 17:59:11 Arno Rehn wrote:
> Am Montag 25 Februar 2008 19:47:53 schrieb William Lahti:
> > I still think it is perfectly acceptable for Qyoto to provide access
> > to the X11 constructors themselves--- that wouldn't preclude using
> > Qyoto on another platform any more than using QX11Embed would.....
> > QX11Embed and numerous other X11 only oddities are already provided in
> > Qyoto so I just don't see why we need to ignore quite possibly *the*
> > most interesting X11-specific feature out there.......
>
> I most admit you got a point here... Maybe we should re-think about this.
William's idea of pulling out all the X11 specific stuff into subclasses like 
QX11Application seems good to me. And then put them all in one X11 specific 
dll, so that the other pure Qt dlls will be the same on all platforms.

We can still generate the method calls in the Smoke lib .cpp code for X11 
specific calls because the code is compiled for each platform and doesn't 
have to be the same. So there wouldn't be an extra smoke library for the X11 
QApplication constructors - they would go in the QtGui lib with the normal 
QApplication methods, not QtX11 or whatever.

-- Richard





More information about the Kde-bindings mailing list