The QP/C++ port and examples for Qt (Qt GUI Framework) is described in the Quantum Leaps Application Note QP/C++ and the Qt GUI Framework.
The standard QP/C++ distribution contains the Qt port (directory qpcpp/ports/qt).
qpcpp/ports/qt