Building .ui files in tar.gz dist

W. Tasin tasin at
Thu Mar 14 17:50:06 GMT 2002

Tarjei Knapstad wrote:

>On Thu, 14 Mar 2002, W. Tasin wrote:
>Well, I upgraded my admin dir with the files from KDevelop2.1Beta2 and 
>that helped a tiny bit. The .cpp files belonging to the .ui files are now 
>included in the dist, but not the headers. No .moc.cpp files are included 
>either. After a distclean, here's the output from one of the subdirs 
>containing Qt stuff (and some other subdirs) when running 'make dist':

Only to prevent misunderstandings:
1) "Distclean"
2) "autoconf/automake" ( i.e. make -f Makefile.dist ... here happens the 
am_edit call)
3) "configure"
4) "make dist"

Please do this always if you are creating a dist-tarball.

>/usr/local/lib/qt/bin/uic -o SetRootDirectoryDlg.h 

>awk '    { files[$0] = 1; } \
>END { for (i in files) print i; }'`; \
>test -z "$unique$tags" \
>|| (cd . && etags  $tags  $unique  -o $here/TAGS)
>So, headers, .cpp and moc files get generated, allthough the moc output is 
>now postfixed .moc instead of .moc.cpp as they do when I do a regular make 
>in my project. Moc is however not run on the other headers I have which 
>need moc processing.
>/usr/local/lib/qt/bin/moc Messenger.h -o Messenger.moc.cpp 
Does Messenger.h have a Q_OBJECT call? IIRC am_edit scans the include 
file for this.
[And if you have to insert this begin again with make -f Makefile.dist]

>should have been run in the segment I posted above, and the moc.cpp file 
>I'm not sure what other checks I could perform to get to the bottom of 
>this. Suggestions are welcome...
If this all didn't help I would need the Makefile to compare it with 
mine (or better the project).



oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
<Key-Fingerprint: 1610 835F 0080 32F4 6140  6CF7 A7D0 44CD 7961A645>

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

More information about the KDevelop mailing list