[PyKDE] sipqtQDateTimeEdit

Phil Thompson phil at river-bank.demon.co.uk
Fri Apr 4 09:35:00 BST 2003


On Friday 04 April 2003 3:01 am, Heberto del Rio wrote:
> I've tryed to compile the PyQt-x11-gpl-3.5.tar.gz file but I had only one
> problem:
> in the sipqtQDateTimeEdit.cpp file there is a method:
>
> void sipQDateTimeEdit::sipProtect_layoutEditors()
> {
>       QDateTimeEdit::layoutEditors();
> }
>
> unfortunately in Qt 3.1.1 the class QDateTimeEdit does not contain such
> method, so when it reaches this point the compilation ends with an error.
>
> I found out that such method exist in QDateTimeEdit but for the qtcsharp.
>
> So what I decided to do is to comment out the line
>
> 	QDateTimeEdit::layoutEditors();
>
> doing this the compilation runs perfectly and it seems that everything
> works. Is there a way to fix this problem? What kind of problems may I get?

That's the correct solution - or upgrade to the current snapshots.

Phil




More information about the PyQt mailing list