Replies: 1 comment
-
|
You can call PyImport_ImportModule("math") from the Python C interface, and assign the returned PyObject pointer to a PythonQtObjectPtr. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What is the canonical way in
PythonQtto import Python C extensions (e.g.,import mathwhere math is loaded from a shared library likemath.cpython-311-x86_64-linux-gnu.soviaExtensionFileLoader) wherelibpythonsymbols are automatically resolved without requiring manualdlopenoflibpythonwithRTLD_GLOBAL?Beta Was this translation helpful? Give feedback.
All reactions