#include <QtGui/qfontdatabase.h> #ifndef QFONTDATABASE_H class QFontDatabase{ /* Some contents are skipped to improve readability */ friend struct QFontPrivate; /* ... */ }; #endif // QFONTDATABASE_H