[PyKDE] INSTALL PROBLEM, was (no subject)

Gerard Vermeulen gvermeul at grenoble.cnrs.fr
Wed Dec 11 14:01:01 GMT 2002


On Wed, Dec 11, 2002 at 12:08:24PM +0000, Pantxo Villa wrote:
> OK,
> 
> I've installed:
> - python 2.2.2
> - qt-2.3.1 and qt-x11-free-3.0.4
Which Qt is being used?

Try from your Python interpreter: import qt; qt.qVersion()

[packer at venus site-packages]$ python
Python 2.2.2 (#1, Oct 23 2002, 12:12:09)
[GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)] on linux-i386
Type "help", "copyright", "credits" or "license" for more information.
>>> import qt; qt.qVersion()
'3.0.4'

Then check:
ldd /usr/lib/python2.2/site-packages/libqtcmodule.so
and you should see a line like:
        libqt-mt.so.3 => /usr/lib/qt3/lib/libqt-mt.so.3 (0x40532000)
 
> - sip-3.4
> - Pyqt-x11-gpl-3.4
> 
> on linux redhat 7.1  with GCC 2.96
> 
> qt examples are running correctly, but pyqt's not correctly...
> some examples (like dclock.py) are running (I obtain the window) but
> when I close I get a seg fault, and many are not running (I don't have
> the frame) with the following message:
>
If you messed up the installation qt.py might not match with libqtcmodule.so.
This may cause the problems that you see. 

Gerard




More information about the PyQt mailing list