# Qt Xt/Motif Support Extension

The Qt Xt/Motif Support Extension assists the migration of old Xt and Motif based code to the more comfortable Qt toolkit.

## Information

The Qt Xt/Motif Extension consistsw of the following classes:

- QXtApplication Allows mixing of Xt/Motif and Qt widgets
- QXtWidget Base widget for Xt/Motif and Qt combination

## How-to

1. Ensure you are using X11R6.
2. Ensure the programs you wish to port are compilable by a C++ compiler, or at least that this is the case for the parts which need migration.
3. Decide whether you are writing a new Qt application reusing old Xt widgets, or introducing new Qt widgets into an existing Xt/Motif application. See the corresponding example program.

## Example Programs

- mainlyQt
- mainlyXt
- mainlyMotif

## Known Bugs

This extension is under development. The following problems exist:

- The different focus models of Xt, Motif, and Qt interfere.
- Clipboard handling between Xt/Motif and Qt does not work properly.