Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

The Feature Definition File

By modifying the configured qconfig.h file from src/tools, you can define a subset of the full Qt functionality that you wish to be available in your installation. The -qconfig option to configure is used to select the configuration.

Note that such modification is only supported on Qt/Embedded platforms, where reducing the size of Qt is important and the application set is often fixed.

The qconfig.h definition file simply defines macros to disable features. Some features are dependent on other features and these dependencies are expressed in qfeatures.h.

The available options are:

MacroDisablesSet automatically by
Images (QImageIO)
QT_NO_IMAGEIO_BMPMicrosoft Bitmap image file format.
QT_NO_IMAGEIO_PPMPortable Pixmap image file format.
QT_NO_IMAGEIO_XBMX11 Bitmap image file format.
QT_NO_IMAGEIO_XPMX11 Pixmap image file format.
QT_NO_IMAGEIO_PNGPortable Network Graphics image file format.
Animation
QT_NO_ASYNC_IMAGE_IOAsynchronous Image I/O and GIF image support (QImageDecoder, ...)
QT_NO_MOVIEAnimation support (QMovie)QT_NO_ASYNC_IO, QT_NO_ASYNC_IMAGE_IO
Fonts
QT_NO_TRUETYPETrueType (TTF and TTC) font file format, only used by Qt/Embedded.
QT_NO_BDFBitmap Distribution Format (BDF) font file format, only used by Qt/Embedded.
QT_NO_FONTDATABASEFont database.
Internationalization
QT_NO_I18NConversions between Unicode and 8-bit encodings.
QT_NO_UNICODETABLESLarge tables defining such things as upper and lowercase conversions for all Unicode characters.
MIME
QT_NO_MIMEMultipurpose Internet Mail Extensions, an Internet standard for encoding and tagging typed data (eg. text, images, colors) (QMimeSource)
QT_NO_RICHTEXTHTML-like text (QStyleSheet, QLabel)QT_NO_MIME
QT_NO_DRAGANDDROPDrag and drop data between applications (QDragObject)QT_NO_MIME
QT_NO_CLIPBOARDCut and paste data between applications (QClipboard)QT_NO_MIME
Sound
QT_NO_SOUNDPlaying audio files (QSound)
Scripting
QT_NO_PROPERTIESScripting Qt-based applications.
Qt/Embedded-specific
QT_NO_QWS_CURSORThe cursor sprite on Qt/Embedded. Pen-operated devices would not normally need this feature.
QT_NO_QWS_DEPTH_8GRAYSCALE8 bits per pixel: 256 levels of gray. Incompatible with QWS_DEPTH_8.
QT_NO_QWS_DEPTH_88 bits per pixel: 216-color cube with 40 auxiliary colors. Incompatible with QWS_DEPTH_8GRAYSCALE.
QT_NO_QWS_DEPTH_1515 bits per pixel: 32 levels for each of red, green and blue.
QT_NO_QWS_DEPTH_1616 bits per pixel: 64 levels of green, 32 levels for red and for blue.
QT_NO_QWS_DEPTH_3232 bits per pixel: 256 levels for each of red, green and blue.
QT_NO_QWS_MACH64Mach64 accelerated driver (demonstration only).
QT_NO_QWS_VFBVirtual framebuffer running on X11.
Networking
QT_NO_NETWORKPROTOCOLAbstract multi-protocol data retrieval, with local file retrieval included (QNetworkProtocol)
QT_NO_NETWORKPROTOCOL_FTPFTP-protocol data retrieval.QT_NO_NETWORKPROTOCOL
QT_NO_NETWORKPROTOCOL_HTTPHTTP-protocol data retrieval.QT_NO_NETWORKPROTOCOL
Painting/drawing
QT_NO_COLORNAMESColor names such as "red", used by some QColor constructors and by some HTML documents (QColor, QStyleSheet)
QT_NO_TRANSFORMATIONSUsed by a number of classes in Qt. With this, rotation and scaling are possible. Without it you can only do coordinate translation (QWMatrix)
QT_NO_PSPRINTERPostScript printer support.
QT_NO_PRINTERPrinter support (QPrinter)QT_NO_PSPRINTER (Unix only)
QT_NO_PICTURESave Qt drawing commands to a files (QPicture)
Widgets
QT_NO_WIDGETSDisabling this disables all widgets except QWidget.
QT_NO_TEXTVIEWHTML document viewing (QTextView)QT_NO_WIDGETS, QT_NO_RICHTEXT
QT_NO_TEXTBROWSERHTML document browsing (QTextBrowser)QT_NO_TEXTVIEW
QT_NO_ICONVIEWLabelled icons (QIconView)QT_NO_WIDGETS, QT_NO_DRAGANDDROP
QT_NO_LISTVIEWLists of information (QListView)QT_NO_WIDGETS
QT_NO_CANVASObject canvas (QCanvas)QT_NO_WIDGETS
QT_NO_DIALValue control (QDial)QT_NO_WIDGETS
QT_NO_WORKSPACEMDI (Multiple Document Interface) (QWorkspace)QT_NO_WIDGETS
QT_NO_LCDNUMBERLCD-like number display (QLCDNumber)QT_NO_WIDGETS
GUI Styles
QT_NO_STYLE_WINDOWSMicrosoft Windows style (QWindowsStyle)QT_NO_WIDGETS
QT_NO_STYLE_MOTIFOSF Motif style (QMotifStyle)QT_NO_WIDGETS
QT_NO_STYLE_CDEOpen Group CDE style (QCDEStyle)QT_NO_STYLE_MOTIF
QT_NO_STYLE_MACMacOS X style (QMacStyle)
QT_NO_STYLE_PLATINUMMacOS 9 style (QPlatinumStyle)QT_NO_WIDGETS
QT_NO_STYLE_SGISGI style (QSGIStyle)QT_NO_STYLE_MOTIF
Dialogs
QT_NO_DIALOGSDisabling this disables all common dialogs (for example, QFileDialog, QFontDialog, and QColorDialog)QT_NO_WIDGETS
QT_NO_FILEDIALOGThe file selection dialog (QFileDialog)QT_NO_DIALOGS, QT_NO_NETWORKPROTOCOL, QT_NO_LISTVIEW
QT_NO_FONTDIALOGThe font selection dialog (QFontDialog)QT_NO_DIALOGS, QT_NO_FONTDATABASE
QT_NO_COLORDIALOGThe color selection dialog (QColorDialog)QT_NO_DIALOGS
QT_NO_INPUTDIALOGText input dialog (QInputDialog)QT_NO_DIALOGS
QT_NO_MESSAGEBOXMessage/prompting dialog (QMessageBox)QT_NO_DIALOGS
QT_NO_PROGRESSDIALOGLong-computation progress dialog (QProgressDialog)QT_NO_DIALOGS
QT_NO_TABDIALOGTabbed-pages dialog (QTabDialog)QT_NO_DIALOGS
QT_NO_WIZARDMulti-step dialog (QWizard)QT_NO_DIALOGS


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp2