From kde-devel Tue Jun 19 11:26:08 2001 From: Malte.Starostik () t-online ! de (Malte Starostik) Date: Tue, 19 Jun 2001 11:26:08 +0000 To: kde-devel Subject: Re: QtDesigner sources in KDE build system X-MARC-Message: https://marc.info/?l=kde-devel&m=99295058808937 On Dienstag, 19. Juni 2001 13:16, Malte Starostik wrote: > On Dienstag, 19. Juni 2001 12:29, Christopher Willmot wrote: > > What is the right way to get a *.ui file to compile correctly? > > > > The file in question is kdenonbeta/kml/elementDialog.ui and the problem I > > have is that no element.Dialog.moc.cpp is made unless I add extra make > > rules to Makefile.am. I don't suppose this is right, so how should it > > work? > > Just add elementDialog.ui to the SOURCES line instead of elementDialog.cpp. > that should do it. NB: That also uses i18n instead of tr, removes i18n() around empty strings and adds an #include for the .moc file :) -Malte -- Wars don't determine who's right, only who's left. >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<