Open iakov opened 7 months ago
Yes, it seems the include of QTextDocument is necessary because of Qt namespace functions convertFromPlainText and mightBeRichText. These would need to be moved to a different wrapper object to fix this. This can't be easily accomplished in a generic manner, if I remember the parser code correctly. (Everything is parsed in one go, and everything from the same namespace is pooled into one object, without consideration for the original Qt package.) I might be wrong, though.
Generated files for core component (
com_trolltech_qt_core/
folder) contain#include "qwidget.h"
and other similar includes that are not part of thecore
module. Probably, this is an issue withtypsystem_core.xml
, that has type declarations forQTextDocument
and other types/enums fromQtGui
.