Adding custom sip project to pyqtdeploy project

Patrick Stinson patrickkidd at gmail.com
Mon Oct 17 15:17:26 BST 2022


What is the correct way to add a custom sip extension module to a
pyqtdeploy project?

My python/cpython sip module is in a subdir of the pyqt-demo project (the
subdir called "cpythononly" here:
https://github.com/patrickkidd/pyqtdeploy-demo) and it builds and runs in
the local venv with sip-install. I added an entry in sysroot.toml and
checked the box for the private c/c++ sub-module under "Packages" in the
pyqtdeploy app. pyqtdeploy-build complains that it can't find the
sip-generated cpp sources for the module:

Undefined symbols for architecture x86_64:
  "_PyInit__cpythononly", referenced from:
      extension_modules in pyqtdeploy_main.o
ld: symbol(s) not found for architecture x86_64

Cheers,
-Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20221017/0a448788/attachment.htm>


More information about the PyQt mailing list