#include <QtCore/qurl.h> #ifndef QURL_H template < > class QTypeInfo < class QUrl >{ /* Some contents are skipped to improve readability */ public: static inline char const * name(); /* ... */ }; #endif // QURL_H