Details
-
Technical task
-
Resolution: Done
-
P2: Important
-
None
Description
Inheritance diagram generation currently does not work. sources/pyside2/doc/inheritance_diagram.py complains (line 100)
WARNING: Could not import class 'QXmlName' specified for inheritance diagram
When changing that py passing the fully qualified name in QtDocGenerator::generateClass() at sources/shiboken2/generator/qtdoc/qtdocgenerator.cpp:1326
s << ".. inheritance-diagram:: " << className << endl --> s << ".. inheritance-diagram:: " << metaClass->fullName() << endl
an exception is thrown by sphinx:
TypeError: can't pickle dict_values objects
First happens in QtConcurrent, but also seems to affect QtCore classes.
The invocation is sth like
sphinx-build -b html <build>/py3.6-qt5.11.0-64bit-release/pyside2/doc/rst html
Attachments
For Gerrit Dashboard: PYSIDE-617 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
221255,6 | WIP: Fix & diagnostic for inheritance diagrams | 5.9 | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |
221500,2 | Fix inheritance_diagram.py to run with Python3 | 5.9 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
221507,3 | shiboken/qtdocgenerator: Pass full name for inheritance diagram | 5.9 | pyside/pyside-setup | Status: MERGED | +2 | 0 |