[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Prob: compilation Slackware 9.0 and pyQt [Error]
From: Ricardo Javier Cardenes Medina <rcardenes () debian ! org>
Date: 2003-04-21 10:19:51
[Download RAW message or body]
On Mon, Apr 21, 2003 at 09:39:20AM +0200, Van Winnendaele Lionel wrote:
> I have this error with pyQt, I have already compiled SIP:
>
> How can I reslove that ?
Time for a FAQ entry on this, methinks. How about:
Building PyQt
....
....
....
<h3>Why does the build claims there's no QDateTimeEdit::layoutEditors
method?</h3>
<p>
Probably you're building a PyQt version previous to 3.6 against Qt v3.1.2
or later. PyQt v3.5 only supports up to Qt version 3.1.1, and it shouldn't
be a problem, but Trolltech's made a very rare incompatible API change
between 3.1.1 and 3.1.2: they substracted layoutEditors method from
QDateTimeEdit class. To solve this, you can either:
</p>
<ul>
<li>get the latest PyQt, if there's a 3.6 or later available, (3.6
wasn't out yet at the moment of writing this), or a development
snapshot otherwise.</li>
<li>edit sip/qdatetimeedit.sip, and remove the layoutEditors
declaration (about line 234, or so)</li>
</ul>
_______________________________________________
PyKDE mailing list PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic