Hiya, You need to inherit from QDialog and also inherit from Ui::ReniceUI. Or you can just use it as a class member in private. Then call ui.setupUi(this); if you did the member one or setupUi(this); if you did it from inheritance. Keith On Tuesday 23 June 2009 07:14:57 am Robin Atwood wrote: > I have just started converting the KDE3 apps I wrote to KDE4, the sudden > impetus being the excellent am2cmake utility I just found: very useful, > good work! Now brace yourselves for lots of dumb questions. > > I have a little dialog I created with Qt Designer and opened the old ui > file with the new designer and saved it. When I ran the make I get an > error: > > error: ‘class Renice’ has no member named ‘exec’ > > Looking at the new ui file it starts: > > > > ReniceUI > > > which I expected but looking at Ui_ReniceUI.h I see: > > class Ui_ReniceUI > { > public: > ...... > void setupUi(QDialog *ReniceUI) > { > > This seems to be quite different from QT3 generated code but shouldn't > Ui_ReniceUI at least be inheriting QDialog? > > TIA > -Robin > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > >> unsubscribe << >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<