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)
TQT_NO_IMAGEIO_BMP | Microsoft Bitmap image file format. |
TQT_NO_IMAGEIO_PPM | Portable Pixmap image file format. |
TQT_NO_IMAGEIO_XBM | X11 Bitmap image file format. |
TQT_NO_IMAGEIO_XPM | X11 Pixmap image file format. |
TQT_NO_IMAGEIO_PNG | Portable Network Graphics image file format. |
Animation
TQT_NO_ASYNC_IO | Asynchronous I/O (TQAsyncIO) |
TQT_NO_ASYNC_IMAGE_IO | Asynchronous Image I/O and GIF image support (TQImageDecoder, ...) |
TQT_NO_MOVIE | Animation support (TQMovie) | TQT_NO_ASYNC_IO, TQT_NO_ASYNC_IMAGE_IO
Fonts
TQT_NO_TRUETYPE | TrueType (TTF and TTC) font file format, only used by TQt/Embedded. |
TQT_NO_BDF | Bitmap Distribution Format (BDF) font file format, only used by TQt/Embedded. |
TQT_NO_FONTDATABASE | Font database. |
Internationalization
TQT_NO_I18N | Conversions between Unicode and 8-bit encodings. |
TQT_NO_UNICODETABLES | Large tables defining such things as upper and lowercase conversions for all Unicode characters. |
MIME
TQT_NO_MIME | Multipurpose Internet Mail Extensions, an Internet standard for encoding and tagging typed data (eg. text, images, colors) (TQMimeSource) |
TQT_NO_RICHTEXT | HTML-like text (TQStyleSheet, TQLabel) | TQT_NO_MIME
TQT_NO_DRAGANDDROP | Drag-and-drop data between applications (TQDragObject) | TQT_NO_MIME
TQT_NO_CLIPBOARD | Cut-and-paste data between applications (TQClipboard) | TQT_NO_MIME
Sound
TQT_NO_SOUND | Playing audio files (TQSound) |
Scripting
TQT_NO_PROPERTIES | Scripting TQt-based applications. |
TQt/Embedded-specific
TQT_NO_QWS_CURSOR | The cursor sprite on TQt/Embedded. Pen-operated devices would not normally need this feature. |
TQT_NO_QWS_DEPTH_8GRAYSCALE | 8 bits per pixel: 256 levels of gray. Incompatible with TQWS_DEPTH_8. |
TQT_NO_QWS_DEPTH_8 | 8 bits per pixel: 216-color cube with 40 auxiliary colors. Incompatible with TQWS_DEPTH_8GRAYSCALE. |
TQT_NO_QWS_DEPTH_15 | 15 bits per pixel: 32 levels for each of red, green and blue. |
TQT_NO_QWS_DEPTH_16 | 16 bits per pixel: 64 levels of green, 32 levels for red and for blue. |
TQT_NO_QWS_DEPTH_32 | 32 bits per pixel: 256 levels for each of red, green and blue. |
TQT_NO_QWS_MACH64 | Mach64 accelerated driver (demonstration only). |
TQT_NO_QWS_VFB | Virtual framebuffer running on X11 (see reference documentation). |
Networking
TQT_NO_NETWORKPROTOCOL | Abstract multi-protocol data retrieval, with local file retrieval included (TQNetworkProtocol) |
TQT_NO_NETWORKPROTOCOL_FTP | FTP-protocol data retrieval. | TQT_NO_NETWORKPROTOCOL
TQT_NO_NETWORKPROTOCOL_HTTP | HTTP-protocol data retrieval. | TQT_NO_NETWORKPROTOCOL
Painting/drawing
TQT_NO_COLORNAMES | Color names such as "red", used by some TQColor constructors and by some HTML documents (TQColor, TQStyleSheet) |
TQT_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) |
TQT_NO_PSPRINTER | PostScript printer support. |
TQT_NO_PRINTER | Printer support (TQPrinter) | TQT_NO_PSPRINTER (Unix only)
TQT_NO_PICTURE | Save TQt drawing commands to a files (TQPicture) |
Widgets
TQT_NO_WIDGETS | Disabling this disables all widgets except TQWidget. |
TQT_NO_TEXTVIEW | HTML document viewing (TQTextView) | TQT_NO_WIDGETS, TQT_NO_RICHTEXT
TQT_NO_TEXTBROWSER | HTML document browsing (TQTextBrowser) | TQT_NO_TEXTVIEW
TQT_NO_ICONVIEW | Labelled icons (TQIconView) | TQT_NO_WIDGETS, TQT_NO_DRAGANDDROP
TQT_NO_LISTVIEW | Lists of information (TQListView) | TQT_NO_WIDGETS
TQT_NO_CANVAS | Object canvas (TQCanvas) | TQT_NO_WIDGETS
TQT_NO_DIAL | Value control (TQDial) | TQT_NO_WIDGETS
TQT_NO_WORKSPACE | MDI (Multiple Document Interface) (TQWorkspace) | TQT_NO_WIDGETS
TQT_NO_LCDNUMBER | LCD-like number display (TQLCDNumber) | TQT_NO_WIDGETS
GUI Styles
TQT_NO_STYLE_WINDOWS | Microsoft Windows style (TQWindowsStyle) | TQT_NO_WIDGETS
TQT_NO_STYLE_MOTIF | OSF Motif style (TQMotifStyle) | TQT_NO_WIDGETS
TQT_NO_STYLE_CDE | Open Group CDE style (TQCDEStyle) | TQT_NO_STYLE_MOTIF
TQT_NO_STYLE_AQUA | MacOS X style (TQAquaStyle)
TQT_NO_STYLE_PLATINUM | MacOS 9 style (TQPlatinumStyle) | TQT_NO_WIDGETS
TQT_NO_STYLE_SGI | SGI style (TQSGIStyle) | TQT_NO_STYLE_MOTIF
Dialogs
TQT_NO_DIALOGS | Disabling this disables all common dialogs TQWidget. | TQT_NO_WIDGETS
TQT_NO_FILEDIALOG | The file selection dialog (TQFileDialog) | TQT_NO_DIALOGS, TQT_NO_NETWORKPROTOCOL, TQT_NO_LISTVIEW
TQT_NO_FONTDIALOG | The font selection dialog (TQFontDialog) | TQT_NO_DIALOGS, TQT_NO_FONTDATABASE
TQT_NO_COLORDIALOG | The color selection dialog (TQColorDialog) | TQT_NO_DIALOGS
TQT_NO_INPUTDIALOG | Text input dialog (TQInputDialog) | TQT_NO_DIALOGS
TQT_NO_MESSAGEBOX | Message/prompting dialog (TQMessageBox) | TQT_NO_DIALOGS
TQT_NO_PROGRESSDIALOG | Long-computation progress dialog (TQProgressDialog) | TQT_NO_DIALOGS
TQT_NO_TABDIALOG | Tabbed-pages dialog (TQTabDialog) | TQT_NO_DIALOGS
TQT_NO_WIZARD | Multi-step dialog (TQWizard) | TQT_NO_DIALOGS