summaryrefslogtreecommitdiffstats
path: root/qmake/book/qmake-commandreference.leaf
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-06 17:29:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-06 17:29:49 +0900
commit587657561bb870d457a188a80bc0ce918ef5a0bd (patch)
treebaed0c3b38c4d11389c96c686967160a1b3027cd /qmake/book/qmake-commandreference.leaf
parent4161606c301841f973f0319f46e6853c4a3fe906 (diff)
downloadtqt-58765756.tar.gz
tqt-58765756.zip
Rename moc to tqmoc
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qmake/book/qmake-commandreference.leaf')
-rw-r--r--qmake/book/qmake-commandreference.leaf12
1 files changed, 6 insertions, 6 deletions
diff --git a/qmake/book/qmake-commandreference.leaf b/qmake/book/qmake-commandreference.leaf
index 9b0a1b964..965d96190 100644
--- a/qmake/book/qmake-commandreference.leaf
+++ b/qmake/book/qmake-commandreference.leaf
@@ -303,7 +303,7 @@ Defines the header files for the project.
\e qmake will generate dependency information (unless -nodepend
is specified on the \link #Commands command line \endlink) for the
specified headers. \e qmake will also automatically detect if
-\e moc is required by the classes in these headers, and add the
+\e tqmoc is required by the classes in these headers, and add the
appropriate dependencies and files to the project for generating and
linking the moc files.
@@ -579,7 +579,7 @@ automatically be included in the project.
For example:
\code
-YACCSOURCES = moc.y
+YACCSOURCES = tqmoc.y
\endcode
@@ -694,7 +694,7 @@ On other platforms, this variable has different meaning, as noted
below.
This variable contains a list of header files that require some
-sort of pre-compilation step (such as with moc). The value of this
+sort of pre-compilation step (such as with tqmoc). The value of this
variable is typically handled by \e qmake or \link #QMAKESPEC qmake.conf \endlink and rarely needs to be
modified.
@@ -880,7 +880,7 @@ to be modified.
\target QMAKE_CLEAN
\section3 QMAKE_CLEAN
-This variable contains any files which are not generated files (such as moc and uic
+This variable contains any files which are not generated files (such as tqmoc and tquic
generated files) and object files that should be removed when using "make clean".
@@ -2138,8 +2138,8 @@ For convenience there is also a method of customizing (UNIX) projects
for generic new compilers (or even preprocessors).
\code
-new_moc.output = moc_${QMAKE_FILE_BASE}.cpp
-new_moc.commands = moc ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_OUT}
+new_moc.output = tqmoc_${QMAKE_FILE_BASE}.cpp
+new_moc.commands = tqmoc ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_OUT}
new_moc.depends = g++ -E -M ${QMAKE_FILE_NAME} | sed "s,^.*: ,,"
new_moc.input = NEW_HEADERS
QMAKE_EXTRA_UNIX_COMPILERS += new_moc