qt-copy and kde4 not compiling

David Faure faure at kde.org
Mon Dec 12 14:08:01 GMT 2005


On Monday 12 December 2005 14:38, Michael Brade wrote:
> Hi,
> 
> I wanted to start hacking on KDE 4 again but I can't compile kdelibs with Qt 
> 4.1.0 from qt-copy. uic3 creates code that doesn't work with Qt 4.1:
> 
> compiling build/kdeui/kshortcutdialog_advanced.os
> ./build/kdeui/kshortcutdialog_advanced.h: In member function 'void 
> Ui_KShortcutDialogAdvanced::setupUi(QWidget*)':
> ./build/kdeui/kshortcutdialog_advanced.h:58: error: invalid conversion from 
> 'QButtonGroup*' to 'int'
> ./build/kdeui/kshortcutdialog_advanced.h:58: error:   initializing argument 1 
> of 'QGridLayout::QGridLayout(int, int, int, const char*)'
> ./build/kdeui/kshortcutdialog_advanced.h:62: error: no matching function for 
> call to 'QRadioButton::QRadioButton(QButtonGroup*&)'
> /opt/qt-4.1/include/QtGui/qradiobutton.h:56: note: candidates are: 
> QRadioButton::QRadioButton(const QRadioButton&)
> 
> etc....
> 
> How can I fix this?

Sorry to state the obvious, but... did you check that configure was picking
up the right version of uic? Did you forget to set the PATH to contain $QTDIR/bin?

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list