Qt Canvas Painter - Compact Health Example
Demonstrates the use of QCPainter in a QWindow.

This example demonstrates using Qt Canvas Painter in a pure QWindow application. Qt Quick or QWidget are not used at all, and there is no dependency on Qt modules other than Core, Gui, and Canvas Painter.
The application sets up accelerated 3D rendering using QRhi, and renders all content in the window with QCPainter. The rendering and QCPainter's integration with QRhi is managed via QCRhiPaintDriver.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.