#include <QtGui/qfontmetrics.h> #ifndef QFONTMETRICS_H typedef enum QtValidLicenseForGuiModule QtGuiModule; #endif // QFONTMETRICS_H