includemocs man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]

INCLUDEMOCS(1)	      User Contributed Perl Documentation	INCLUDEMOCS(1)

NAME
       includemocs -- handle mocifyable headers, whose .moc file is nowhere
       included.

SYNOPSIS
	       includemocs

DESCRIPTION
       Header files declaring a QObject descendant have to be run through moc
       to produce a .moc file.	This .moc file has to be compiled, for which
       two possibilities exists: compile it separately, or #include it in the
       C++ file implementing that above mentioned class.  The latter is more
       efficient in term of compilation speed.

       This script searches in the current directory and its subdirs for
       header files declaring a QObject descendant class.  If it finds some,
       it looks, if there is a C++ file containing an '#include' for the gen‐
       erated .moc file.  If thats not the case, it tries to guess into which
       C++ file that '#include' is placed best (based on the filename).	 If it
       fails to guess a proper place, it mentions that.

       On stdout commands are ouput, suitable for a shell, which, when evalu‐
       ated, add the suggested '#include' at the end of the files.

       On stderr some informational messages are printed.

EXAMPLES
	       cd kdebase ; includemocs
	       cd kdebase ; `eval includemocs 2> /dev/null`

AUTHOR
       Michael Matz <matz@ifh.de>

perl v5.8.8			  2006-01-19			INCLUDEMOCS(1)
[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net