[Qt-interest] Qt and XCB

JJDaNiMoTh jjdanimoth at gmail.com
Wed Jun 30 13:47:45 CEST 2010


Hello to all,

I was thinking about a possible architecture of a lightweight window manager 
(or a Desktop Environment), based on Qt, multi-platform (X11, os x, windows).

As example, I started to see Antico's source code [1], and I see which use 
Xlib in some point.

The first question is: Could I create a WM without using "under-layer" API 
(Xlib, Cocoa, Win..) but using only Qt? 
If yes, it could me save time to write a layer for the three platforms.

If not (which I think), I have thought about using XCB instead of Xlib, for 
the X11 layer, because (from what I read on freedesktop.org) is more powerful, 
light and fast than Xlib. But, if I use XCB for some little parts (just take 
ownership of all desktop) Qt will use Xlib, so I wouldn't see any benefits.

So, the second question is: Qt supports XCB? There is a Qt port to XCB 
somewhere?

thanks

[1] http://github.com/antico/antico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100630/daec4d54/attachment.bin 


More information about the Qt-interest-old mailing list