pythonqt icon indicating copy to clipboard operation
pythonqt copied to clipboard

Fails to build with 'PYTHONQTALL_CONFIG=PythonQtCore'

Open iakov opened this issue 2 years ago • 1 comments

Generated files for core component (com_trolltech_qt_core/ folder) contain #include "qwidget.h" and other similar includes that are not part of the core module. Probably, this is an issue with typsystem_core.xml, that has type declarations for QTextDocument and other types/enums from QtGui.

iakov avatar Mar 29 '24 12:03 iakov

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.

usiems avatar Apr 02 '24 12:04 usiems