[Qt-interest] Minimal Qt/X11 compile

David Boddie david.boddie at nokia.com
Tue Oct 5 17:21:24 CEST 2010


Joshua Grauman wrote:

> I'm looking to compile Qt/X11 minimally so as to not include components
> that I don't need. Most of the options in 'configure' I know what
> enabling/disabling them will do. However, I'm not sure how Qt uses some
> libraries and what effect disabling them will have on Qt. I can google the
> descriptions of the libraries, yet I still don't know what Qt uses the
> library for and what will happen if it is disabled. I could disable them
> all, but recompiling lots of times to try to figure out what different
> combinations of libraries does to Qt doesn't sound appealing ;) If anyone
> can comment what Qt will do differently with the following libraries
> disabled, that would be helpful. Thanks!
> 
> -no-sm ............. Do not support X Session Management.
> -no-xshape ......... Do not compile XShape support.
> -no-xvideo ......... Do not compile XVideo support.
> -no-xcursor ........ Do not compile Xcursor support.
> -no-xfixes ......... Do not compile Xfixes support.
> -no-xrandr ......... Do not compile Xrandr (resize and rotate) support.
> -no-xrender ........ Do not compile Xrender support.
> -no-xinput ......... Do not compile Xinput support.
> -no-xkb ............ Do not compile XKB (X KeyBoard extension) support.

Some information can be found on this page:

  http://doc.qt.nokia.com/4.7/requirements-x11.html

Suggestions for improvements to that page are welcome.

David
-- 
David Boddie
Senior Technical Writer
Nokia, Qt



More information about the Qt-interest-old mailing list