LINUX programming

Moderators: ITA
Number of threads: 1347
Number of posts: 2935

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
integration of PyQt/PySide issue Posted by ITkalenko on 23 Jan 2013 at 1:14 AM
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!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.