#include <QtCore/qvector.h> #ifndef QVECTOR_H template < typename T > struct QVectorTypedData{ /* Some contents are skipped to improve readability */ public: T array[1]; /* ... */ }; #endif // QVECTOR_H