#include <QtGui/qtextdocument.h> #ifndef QTEXTDOCUMENT_H struct QTextFrame; #endif // QTEXTDOCUMENT_H