Export QTextDocumentPrivate with Q_GUI_EXPORT

QTextDocument is used from several different Qt modules so it needs to be
possible to access its privates from outside of Qt Gui.

Change-Id: I8087f8312e0db46bd457a6119d974caa27660d57
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
Andy Shaw 2016-08-01 12:03:36 +02:00 committed by Andy Shaw
parent 6f75096afc
commit 0ec512e90b

View File

@ -158,7 +158,7 @@ public:
};
Q_DECLARE_TYPEINFO(QTextUndoCommand, Q_PRIMITIVE_TYPE);
class Q_AUTOTEST_EXPORT QTextDocumentPrivate : public QObjectPrivate
class Q_GUI_EXPORT QTextDocumentPrivate : public QObjectPrivate
{
Q_DECLARE_PUBLIC(QTextDocument)
public: