#include <QtGui/qtextformat.h> #ifndef QTEXTFORMAT_H struct QTextFormatCollection; #endif // QTEXTFORMAT_H