KDE3Beta2 : MOC failed

W. Tasin tasin at fhm.edu
Thu Mar 14 11:04:41 GMT 2002


Celine Tourlet wrote:

>After more investigations, I realized the issue is not about paths.
>
>Here is the scenario :
>Add a new UI file is the project (dlg.ui).
>Put some widgets in Qt, set the name attribute to "dlg" and save it.
>In Kdevelop, create a new class that inherits dlg : mydlgclass.
>Try to compile => NOK : when compiling mydlgclass, cannot find dlg.h because dlg.ui compilation did not
>happen.
>Recompile everything did not help, automake / autoconf either, modifying dlg.ui in Qt either.
>
>The dependencies of mydlgclass does not take dlg.h into account.
>
>The only workaround I found is to open dlg.ui within Kdevelop in ASCII mode, perform a fake modification
>and explicitly complile this file. The project compilation is then sucessful.
>
>Is this a bug in makefile generation ? If so, shall it be reported ?
>
>Thanks for giving your opinion.
>Celine
>

Did you try to invoke configure from the command line?

I mean after creation of dlg.ui and putting some widgets in it, open a 
konsole:
#cd ~/myproject
#make -f Makefile.dist
#./configure --prefix= ...  --with-qt-dir=....
#make

Does this work?

>
>
>-
>to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
>unsubscribe »your-email-address«
>
Ciao

Walter

-- 
oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
(Zucchero)
:-------W._Tasin,_FB_04,_FHM-------------------PGP-KeyID:0x7961A645---:
<Key-Fingerprint: 1610 835F 0080 32F4 6140  6CF7 A7D0 44CD 7961A645>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=index&search=0x7961A645&fingerprint=on>




-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list