#include <QtCore/qlist.h> #ifndef QLIST_H struct QListData{ /* Some contents are skipped to improve readability */ public: struct QListData::Data* d; /* ... */ }; #endif // QLIST_H