#include <QtCore/qobject.h> #ifndef QOBJECT_H #ifndef QT_NO_QOBJECT class QObjectData{ /* Some contents are skipped to improve readability */ public: virtual ~QObjectData() = 0; /* ... */ }; #endif #endif // QOBJECT_H