[PyQt] Problems importing module created by SIP

Phil Thompson phil at riverbankcomputing.com
Sun Apr 13 11:39:20 BST 2014


On 13-04-2014 10:57 am, Eddy Ilg wrote:
> Hi,
>
>
> I now managed to compile my own module, but it additionally depends
> on QtCore. When importing into python it reports that that the symbol
> _ZN10QArrayData11shared_nullE cannot be found. LD_LIBRARY_PATH is
> correct. Also tried adding the Qt lib path to PYTHONPATH,  but no
> effect.
>
> How can I tell python to load the modules that my own module depends
> on? (in this case libQtCore.so)

Link against it (-lQtCore) when compiling your module.

Phil


More information about the PyQt mailing list