sip-build error: NoDerived is not a valid function annotation
Konstantin Kholostov
kholostov at gmail.com
Fri May 5 11:29:17 BST 2023
Dear all,
I'm migrating the code which was buildable with sip4 to sip6.
I'm running
kk at mac python % sip-build
Querying qmake about your Qt installation...
These bindings will be built: qti.
Generating the qti bindings...
sip-build: ../qtisas/python/sip/qti/qtimod.sip: line 2336: column 26:
NoDerived is not a valid function annotation
The error happens here. I checked the docs and looks like the function
annotation NoDerived is still present. NoDerived annotation appears 101
times in the file and this piece is the first occurrence.
Folder *activeFolder() /NoDerived/;
%MethodCode
sipRes = sipCpp->current_folder;
%End
The corresponding pyproject.toml:
[build-system]
requires = ["sip >=6, <7", "PyQt-builder >=1.6, <2"]
build-backend = "sipbuild.api"
[tool.sip.metadata]
name = "qti"
requires-dist = "PyQt5 (>=5.15)"
[tool.sip]
project-factory = "pyqtbuild:PyQtProject"
The system I'm trying to build things on is mac with m1 processor.
Python3, PyQt5, PyQt-builder and sip are installed from brew.
Could you please guide me with some info on how to proceed with this error?
Thanks!
Kind regards,
Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230505/dc40c614/attachment.htm>
More information about the PyQt
mailing list