#include <QtCore/qmap.h> #ifndef QMAP_H struct QMapData{ /* Some contents are skipped to improve readability */ public: static struct QMapData shared_null; /* ... */ }; #endif // QMAP_H