#include <QtGui/qpainterpath.h> #ifndef QPAINTERPATH_H class QPainterPath{ /* Some contents are skipped to improve readability */ public: class Element{ /* ... */ public: qreal x; /* ... */ }; /* ... */ }; #endif // QPAINTERPATH_H