Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PyQt4 vs. PyQt3: beides Funktioniert wohl nicht O_o
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Mon Aug 21, 2006 10:12 am    Post subject: PyQt4 vs. PyQt3: beides Funktioniert wohl nicht O_o Reply with quote

Hallo zusammen, hab hier ein fieses Problem:

Ich habe PyQt4 frisch installiert. Danach ließ sich aber das "alte" Qt3 Python-modul nicht mehr importieren:
Code:

$ python
Python 2.4.3 (#1, Aug 16 2006, 13:00:54)
[GCC 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import qt
Segmentation fault


Hab ich mir gedacht, ok, versuch ich halt einfach mal PyQt3 neu zu mergen. Und siehe da, nach einem "emerge PyQt" funktioniert es auch wieder.

Aber schaut mal was jetzt passiert, wenn man das "neue" Qt importieren will (ging zuvor Problemlos):
Code:

$ python
Python 2.4.3 (#1, Aug 16 2006, 13:00:54)
[GCC 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt4.Qt
Segmentation fault


Es funktioniert also entweder PyQt4 oder PyQt3, je nachdem was zuletzt emerged wurde aber beides scheint net zu gehen.

Jemand nen Tipp?


EDIT:
Anscheinend tritt dieses Problem nicht nur beim importieren des Qt-Moduls in python auf, sondern auch wenn man den interface-compiler benutzen will. Es funktioniert immer nur die zuletzt gemergte Version:
Code:
$ pyuic4
Segmentation fault



EDIT2:

Evtl liegts daran:
Wenn ich PyQt4 emerge dann updatet er dev-python/sip auf version 4.4.5.
Wenn ich PyQt3 emerge dann macht er ein downgrade von sip auf version 4.2.1.

Ich dachte zwar sip braucht es nur um die python-module zu kompilieren, aber vieleicht werden die ja auch bei Laufzeit noch benötigt!? :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum