Summary: | PyQt fails with qt-3.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Ehmsen (RETIRED) <ehmsen> |
Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chrb, jensmayer, kde, scoper |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | modified 3.8.1 ebuild |
Description
Martin Ehmsen (RETIRED)
2004-02-10 05:24:52 UTC
I have just tried the latest snapshot from pyqt, and it seems to work with qt-3.3 so there is hope for this bug to become fixed when the next version of pyqt comes out. *** Bug 41806 has been marked as a duplicate of this bug. *** As a workaround for the impatient, just remove the protected: content() method from sip/qtable.sip, then it works. I.e. ebuild ... unpack, cd /var/tmp/portage/PyQt-3.8.1/work, "cat | patch -p0" and paste the following patch, then run ebuild ... package merge clean --- PyQt-x11-gpl-3.8.1/sip/qtable.sip~ 2003-09-06 15:36:52.000000000 +0200 +++ PyQt-x11-gpl-3.8.1/sip/qtable.sip 2004-02-18 19:59:31.000000000 +0100 @@ -151,8 +151,4 @@ %End -protected: -%If (Qt_3_2_0 -) - QString content() const; -%End }; Grrr, I overlooked that the same problem seems to exist as in http://bugs.gentoo.org/show_bug.cgi?id=42047 i.e. I had to put "make || die" as first line into src_install() of /usr/portage/dev-python/PyQt/PyQt-3.8.1.ebuild, otherwise I got no binaries installed. Wonder why (see my above report). (Sorry for spamming this bugreport, but in case someone wants to follow my receipt for a working PyQt, I thought this might be annoying to find out..) Fixed in cvs, thanks for the patch Hans Meine. Created attachment 26402 [details]
modified 3.8.1 ebuild
the above ebuild should fix the bug for stable users as well Patch added to 3.8.1 as well. |