[Qt-interest] How to detect the graphicssystem at runtime

Uwe Rathmann Uwe.Rathmann at tigertal.de
Tue May 31 17:05:39 CEST 2011


Hi,

in a Qt addon widget library you have no control over the graphical 
environment ( operating system or the graphics system ) of the application, 
that is using the library.

So I would like to auto-detect the capabilities of the graphics system, that 
is used for painting, at runtime. In detail it is about the capabilities of 
X11 to paint outside of paint events + unbuffered, what are nice performance 
improvements for certain types of situations.

Does someone has an idea how to find out if an application runs with 
"native" or "raster" on X11 ?

Uwe




More information about the Qt-interest-old mailing list