[Qt-interest] Minimal Qt/X11 compile

Konrad Rosenbaum konrad at silmor.de
Tue Oct 5 21:30:06 CEST 2010


On Monday 04 October 2010, Joshua Grauman wrote:
> -no-sm ............. Do not support X Session Management.

your applications will not be told when the X session is about to end, they 
will just be surprised and end - no chance to ask the user for last second 
opinions

> -no-xshape ......... Do not compile XShape support.

you lose the ability to use non-rectangular windows (but, who does?)

> -no-xvideo ......... Do not compile XVideo support.

animations become excruciatingly slow or CPU hogs (or both)

> -no-xcursor ........ Do not compile Xcursor support.

you cannot change the picture used by the mouse cursor (eg. to signal you 
are waiting for something to happen)

> -no-xfixes ......... Do not compile Xfixes support.

your app may act strangely on some versions of X

> -no-xrandr ......... Do not compile Xrandr (resize and rotate) support.

your app will not be able to react to the screen size/orientation changing 
(eg. if you connect a laptop to a projector)

> -no-xrender ........ Do not compile Xrender support.

your fonts and images will look like they have been drawn up with a jigsaw 
(no anti-aliasing)

> -no-xinput ......... Do not compile Xinput support.

if you have a complex keyboard/mouse configuration it may not work with the 
app

> -no-xkb ............ Do not compile XKB (X KeyBoard extension) support.

no control over the keyboard, maybe you lose some key events (eg. modifier 
keys without anything else presses)

Other noteworthy ones:

-no-fontconfig ..... Do not compile FontConfig (anti-aliased font) support.

lose advanced font choice and font-anti-aliasing

-no-glib ........... Do not compile Glib support.

lose the ability to integrate with other libglib based libraries (mainly 
event loop integration)

-no-gtkstyle ....... Do not build the GTK theme integration.

lose visual integration into GTK/Gnome

-no-exceptions ..... Disable exceptions on compilers that support it.

lose the ability to use C++ exceptions, does not save significant amounts of 
space, saves a few nanoseconds per hour

-no-accessibility .. Do not compile Accessibility support.

lose the ability to provide help for people with disabilities

-no-stl ............ Do not compile STL support.

lose integration between Qt templates with STL templates, does not save much 
space

-no-libpng ......... Do not compile PNG support.

lose the main image format of Qt, saves space, but also loses the icons used 
by Qt (eg. QMessageBox, QApplication::aboutQt)

-no-gif ............ Do not compile GIF reading support.
-no-libtiff ........ Do not compile TIFF support.
-no-libmng ......... Do not compile MNG support.
-no-libjpeg ........ Do not compile JPEG support.

lose any of those image formats, not much of a loss - they are usually in 
plugins anyway (I usually ship my apps without those plugins and haven't 
missed them yet)

-no-openssl ........ Do not compile support for OpenSSL.

lose SSL support (encrypted sockets, HTTPS), also not much of a saver - SSL 
is loaded only if the openssl libs are available on the system

-no-nis ............ Do not compile NIS support.

lose some system information, lose the ability to resolve host names if NIS 
is used

-no-cups ........... Do not compile CUPS support.

lose the ability to print

-no-iconv .......... Do not compile support for iconv(3).

lose encoding conversion support (UTF-8 and ASCII should still work, any 
other encoding might be lost)

-reduce-relocations ..... Reduce relocations in the libraries

may reduce the time to start an app, may also make it a bit less stable 
(it's experimental)

-no-separate-debug-info . Do not store debug information in a separate file.

the inverse of a saver if you build with debug info - the shared object 
files become MUCH bigger; in -release mode you lose the ability to debug Qt



	Konrad
-------------- 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/20101005/fe3b0b2b/attachment.bin 


More information about the Qt-interest-old mailing list