[PyQt] Passing image using SIP

Jarosław Białas jarekbialas.bialy at gmail.com
Mon Jun 20 23:46:27 BST 2011


I wanted to create code fragment that will pass an object containg image 
or pointer to this object from Python to C++ function.
I tried to create function:
void loadImage(QImage* image);
Then I created sip file, and after compiling and linking everything 
looks fine until I tried to import shared library in python:
ImportError: ./test.so: undefined symbol: _ZTI6QImage

I am open to any suggestion how to solve that problem.


More information about the PyQt mailing list