#include <QtGui/qpaintengine.h> #ifndef QPAINTENGINE_H class QPaintEngineState{ /* Some contents are skipped to improve readability */ friend struct QPainterPrivate; /* ... */ }; #endif // QPAINTENGINE_H