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

The Feature Definition File

By modifying the configured ntqconfig.h file from src/tools, you can define a subset of the full TQt 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 TQt/Embedded platforms, where reducing the size of TQt is important and the application set is often fixed.

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

The available options are:

Macro Disables Set automatically by
Images (TQImageIO)
QT_NO_IMAGEIO_BMP Microsoft Bitmap image file format.  
QT_NO_IMAGEIO_PPM Portable Pixmap image file format.  
QT_NO_IMAGEIO_XBM X11 Bitmap image file format.  
QT_NO_IMAGEIO_XPM X11 Pixmap image file format.  
QT_NO_IMAGEIO_PNG Portable Network Graphics image file format.  
Animation
QT_NO_ASYNC_IO Asynchronous I/O (TQAsyncIO)  
QT_NO_ASYNC_IMAGE_IO Asynchronous Image I/O and GIF image support (TQImageDecoder, ...)  
QT_NO_MOVIE Animation support (TQMovie) QT_NO_ASYNC_IO, QT_NO_ASYNC_IMAGE_IO
Fonts
QT_NO_TRUETYPE TrueType (TTF and TTC) font file format, only used by TQt/Embedded.  
QT_NO_BDF Bitmap Distribution Format (BDF) font file format, only used by TQt/Embedded.  
QT_NO_FONTDATABASE Font database.  
Internationalization
QT_NO_I18N Conversions between Unicode and 8-bit encodings.  
QT_NO_UNICODETABLES Large tables defining such things as upper and lowercase conversions for all Unicode characters.  
MIME
QT_NO_MIME Multipurpose Internet Mail Extensions, an Internet standard for encoding and tagging typed data (eg. text, images, colors) (TQMimeSource)  
QT_NO_RICHTEXT HTML-like text (TQStyleSheet, TQLabel) QT_NO_MIME
QT_NO_DRAGANDDROP Drag-and-drop data between applications (TQDragObject) QT_NO_MIME
QT_NO_CLIPBOARD Cut-and-paste data between applications (TQClipboard) QT_NO_MIME
Sound
QT_NO_SOUND Playing audio files (TQSound)  
Scripting
QT_NO_PROPERTIES Scripting TQt-based applications.  
TQt/Embedded-specific
QT_NO_QWS_CURSOR The cursor sprite on TQt/Embedded. Pen-operated devices would not normally need this feature.  
QT_NO_QWS_DEPTH_8GRAYSCALE 8 bits per pixel: 256 levels of gray. Incompatible with TQWS_DEPTH_8.  
QT_NO_QWS_DEPTH_8 8 bits per pixel: 216-color cube with 40 auxiliary colors. Incompatible with TQWS_DEPTH_8GRAYSCALE.  
QT_NO_QWS_DEPTH_15 15 bits per pixel: 32 levels for each of red, green and blue.  
QT_NO_QWS_DEPTH_16 16 bits per pixel: 64 levels of green, 32 levels for red and for blue.  
QT_NO_QWS_DEPTH_32 32 bits per pixel: 256 levels for each of red, green and blue.  
QT_NO_QWS_MACH64 Mach64 accelerated driver (demonstration only).  
QT_NO_QWS_VFB Virtual framebuffer running on X11 (see reference documentation).  
Networking
QT_NO_NETWORKPROTOCOL Abstract multi-protocol data retrieval, with local file retrieval included (TQNetworkProtocol)  
QT_NO_NETWORKPROTOCOL_FTP FTP-protocol data retrieval. QT_NO_NETWORKPROTOCOL
QT_NO_NETWORKPROTOCOL_HTTP HTTP-protocol data retrieval. QT_NO_NETWORKPROTOCOL
Painting/drawing
QT_NO_COLORNAMES Color names such as "red", used by some TQColor constructors and by some HTML documents (TQColor, TQStyleSheet)  
QT_NO_TRANSFORMATIONS Used by a number of classes in TQt. With this, rotation and scaling are possible. Without it you can only do coordinate translation (TQWMatrix)  
QT_NO_PSPRINTER PostScript printer support.  
QT_NO_PRINTER Printer support (TQPrinter) QT_NO_PSPRINTER (Unix only)
QT_NO_PICTURE Save TQt drawing commands to a files (TQPicture)  
Widgets
QT_NO_WIDGETS Disabling this disables all widgets except TQWidget.  
QT_NO_TEXTVIEW HTML document viewing (TQTextView) QT_NO_WIDGETS, QT_NO_RICHTEXT
QT_NO_TEXTBROWSER HTML document browsing (TQTextBrowser) QT_NO_TEXTVIEW
QT_NO_ICONVIEW Labelled icons (TQIconView) QT_NO_WIDGETS, QT_NO_DRAGANDDROP
QT_NO_LISTVIEW Lists of information (TQListView) QT_NO_WIDGETS
QT_NO_CANVAS Object canvas (TQCanvas) QT_NO_WIDGETS
QT_NO_DIAL Value control (TQDial) QT_NO_WIDGETS
QT_NO_WORKSPACE MDI (Multiple Document Interface) (TQWorkspace) QT_NO_WIDGETS
QT_NO_LCDNUMBER LCD-like number display (TQLCDNumber) QT_NO_WIDGETS
GUI Styles
QT_NO_STYLE_WINDOWS Microsoft Windows style (TQWindowsStyle) QT_NO_WIDGETS
QT_NO_STYLE_MOTIF OSF Motif style (TQMotifStyle) QT_NO_WIDGETS
QT_NO_STYLE_CDE Open Group CDE style (TQCDEStyle) QT_NO_STYLE_MOTIF
QT_NO_STYLE_AQUA MacOS X style (TQAquaStyle)
QT_NO_STYLE_PLATINUM MacOS 9 style (TQPlatinumStyle) QT_NO_WIDGETS
QT_NO_STYLE_SGI SGI style (TQSGIStyle) QT_NO_STYLE_MOTIF
Dialogs
QT_NO_DIALOGS Disabling this disables all common dialogs TQWidget. QT_NO_WIDGETS
QT_NO_FILEDIALOG The file selection dialog (TQFileDialog) QT_NO_DIALOGS, QT_NO_NETWORKPROTOCOL, QT_NO_LISTVIEW
QT_NO_FONTDIALOG The font selection dialog (TQFontDialog) QT_NO_DIALOGS, QT_NO_FONTDATABASE
QT_NO_COLORDIALOG The color selection dialog (TQColorDialog) QT_NO_DIALOGS
QT_NO_INPUTDIALOG Text input dialog (TQInputDialog) QT_NO_DIALOGS
QT_NO_MESSAGEBOX Message/prompting dialog (TQMessageBox) QT_NO_DIALOGS
QT_NO_PROGRESSDIALOG Long-computation progress dialog (TQProgressDialog) QT_NO_DIALOGS
QT_NO_TABDIALOG Tabbed-pages dialog (TQTabDialog) QT_NO_DIALOGS
QT_NO_WIZARD Multi-step dialog (TQWizard) QT_NO_DIALOGS


Copyright © 2007 TrolltechTrademarks
TQt 3.3.8