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