Не собирается под Gentoo Qt 4.7.0:
In file included from ../../include/QtGui/private/qtextdocument_p.h:1,
from ../../include/QtGui/private/../../../src/gui/text/qtextengine_p.h:70,
from ../../include/QtGui/private/qtextengine_p.h:1,
from itemviews/qabstractitemdelegate.cpp:53:
../../include/QtGui/private/../../../src/gui/text/qtextdocument_p.h:256: ошибка: ‘QTextDocument::Stacks’ has not been declared
make[1]: *** [.obj/release-shared/qabstractitemdelegate.o] Ошибка 1
make[1]: *** Ожидание завершения заданий...
make[1]: Выход из каталога `/home/dominator/Packages/qt-everywhere-opensource-src-4.7.0/src/gui'
make: *** [sub-gui-make_default-ordered] Ошибка 2
Как исправить?