Description
With the patches starting at https://codereview.qt-project.org/#/c/221293/ , the signature generation fails for Qt 5.11 with the newly introduced enum class CheckOption (QAbstractItemModel) (see https://codereview.qt-project.org/#/c/221039/ ):
RUN 1:
RUN 1: FAILED (errors=1)
RUN 1:
RUN 1: Start 20: pysidetest_qapp_like_a_macro_test
RUN 1: 20/420 Test #20: pysidetest_qapp_like_a_macro_test ............... Passed 0.18 sec
RUN 1: Start 21: registry_signature_test
RUN 1: 21/420 Test #21: registry_signature_test .........................***Failed 0.88 sec
RUN 1: .../pyside-setup59_511s/testenv59_511s_33_build/py3.6-qt5.11.0-64bit-release/pyside2/PySide2/support/signature/parser.py:16
8: RuntimeWarning: pyside_type_init:
RUN 1:
RUN 1: UNRECOGNIZED: 'CheckIndexOption.NoOption'
RUN 1: OFFENDING LINE: 'PySide2.QtCore.QAbstractItemModel.checkIndex(index:PySide2.QtCore.QModelIndex,options:PySide2.QtCore.QAbstract
ItemModel.CheckIndexOptions=CheckIndexOption.NoOption)->bool'
RUN 1:
RUN 1: """.format(thing, line), RuntimeWarning)
RUN 1: E....
RUN 1: ======================================================================
RUN 1: ERROR: testAllSignaturesCanBuild (__main__.PySideSignatureTest)
RUN 1: ----------------------------------------------------------------------
RUN 1: Traceback (most recent call last):
RUN 1: File ".../pyside-setup59_511s/testenv59_511s_33_build/py3.6-qt5.11.0-64bit-release/pyside2/PySide2/support/signature/pars
er.py", line 213, in pyside_type_init
RUN 1: props = calculate_props(line)
RUN 1: File ".../pyside-setup59_511s/testenv59_511s_33_build/py3.6-qt5.11.0-64bit-release/pyside2/PySide2/support/signature/pars
er.py", line 176, in calculate_props
RUN 1: res = _parse_line(line)
RUN 1: File ".../pyside-setup59_511s/testenv59_511s_33_build/py3.6-q
Attachments
Issue Links
- relates to
-
PYSIDE-945 Slot, Signal and possibly more missing in QtCore.pyi
-
- Closed
-