#include <QtGui/qfontdatabase.h> #ifndef QFONTDATABASE_H class QFontDatabase{ /* Some contents are skipped to improve readability */ private: static void createDatabase(); /* ... */ }; #endif // QFONTDATABASE_H