Bug#43937: uic generates wrong Code for KDatePicker

anoebert at compuserve.de anoebert at compuserve.de
Sat Jun 15 03:04:02 UTC 2002

Package: kdevelop
Version: KDE 3.0.0 
Severity: normal
Installed from:    SuSE RPMs
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux
OS/Compiler notes: Not Specified

When creating Dialogs with QTDesigner that use KDatePicker, the Code generated from the .ui file contains e.g.the line

KDatePicker_Datum = new KDatePicker( this, "KDatePicker_Datum" );

This line generates a compilation error because the second argument of the constructor is missing. The correct line is

 KDatePicker_Datum = new KDatePicker( this, QDate::currentDate(), "KDatePicker_Datum" );

(Submitted via bugs.kde.org)

(Complete bug history is available at http://bugs.kde.org/db/43/43937.html)

More information about the KDevelop-devel mailing list