Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

Integration of PyQt/PySide issue

$
0
0
There is an application (Salome) that includes interpretor Python and Qt and PyQt libs.
Also there is a module for this application written on Python.
Specially for this module we need to include additional version of PyQt or PySide that will be distributed with our module.
It doesn’t really matter whether it will be PyQt (commercial, modified with the help of Vendor ID utility) or PySide.

The problem is when i try to load any of those libs in Salome, i get the next import error message.
PyQt: undefined symbol: _ZN10QTableView13doItemsLayoutEv
PySide: undefined symbol: _ZN9QMetaType15registerTypedefEPKci

When importing those modules the same way in test script and running it through interpretor installed in the system everything is working fine.

Also we tried to recompile the Python 2.6.6 and rebuild PyQt/PySide, but got the same errors.

Please advise what can cause such problem and how can it be solved.

P.S: in case with integration of PySide there is another problem: PySide is referring to a lib that has to be located in the system folder
/usr/lib/i386-linux-gnu/libpyside-python2.7.so, while in our case all paths should be relative.

Any help or advice will be appreciated!

Viewing all articles
Browse latest Browse all 2703

Trending Articles