| Classes - Annotated - Tree - Functions - Home - Structure

# Windowsystem-specific Notes

Qt is a cross-platform GUI toolkit, so almost the entire API is the same on all platforms and windowsystems. However some development tasks may require you to write small windowsystem-specific tasks. This page documents the windowsystem-specific parts of the Qt API. Note that any use of these features renders your application non-portable to other Qt-supported windowsystems, so protect such code with appropriate "#ifdef" directives (see below), preferably with code for each platform to which you wish to retain portability.

For information about which platforms are supported by Qt, see the Platform Notes.

## Qt/X11

When compiling for this platform, the macro `_WS_X11_` is defined.

Not documented here. Please contact Trolltech Technical Support if you have queries.

## Qt/Windows

When compiling for this platform, the macro `_WS_WIN_` is defined.

Not documented here. Please contact Trolltech Technical Support if you have queries.

## Qt/Embedded

When compiling for this platform, the macro `_WS_QWS_` is defined (the window system is literally the Qt Window System).

- Installation
- Running Qt/Embedded applications
- Porting your applications to Qt/Embedded
- Font formats and definitions
- Character input (keyboard, pen, ...)
- Pointer handling (mouse, pen, ...)
- Reduce memory use with the feature definition file
- A case study embedding on Cassiopeia