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

# Window System-specific Notes

Qt is a multiplatform GUI toolkit, so almost the entire API is the same on all platforms and window systems. If you wish to use platform-specific features, and still maintain a platform-independent source tree, you should protect the platform-specific code using the appropriate `#ifdef` statements (see below).

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

## Qt/X11

When compiling for this platform, the macro `Q_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 `Q_WS_WIN` is defined.

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

## Qt/Mac

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

- Qt/Mac differences

## Qt/Embedded

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

- Installation
- Qt/Embedded performance tuning
- 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