[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/8] Qt: documentation update.
From: |
Gergely Risko |
Subject: |
[PATCH 6/8] Qt: documentation update. |
Date: |
Wed, 8 Jul 2009 15:59:13 +0300 |
---
doc/automake.texi | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/doc/automake.texi b/doc/automake.texi
index c46d08f..aa92729 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -6730,9 +6730,18 @@ class InCodeClass : public QObject @{
#include <incodeclass.moc>
@end example
-C++ source files like this has to be added to @address@hidden too.
-The generated @file{foo.moc} won't be compiled and linked of course,
-since its code will be generated together with the @file{foo.cpp}.
+C++ source files like this has to be added to
address@hidden@var{prog}_QTSOURCES} too. The generated @file{foo.moc} won't be
+compiled and linked of course, since its code will be generated together
+with the @file{foo.cpp}. An explicit dependency for @file{foo.o} to
address@hidden is recorded, so @command{make} will first create the moc
+file and only after that will try to compile the whole @file{foo.cpp}
+with the C++ compiler.
+
+Please note that in the example we included
address@hidden@var{cutegammon}_QTSOURCES} to @address@hidden,
+this way it can be avoided to repeat the same source file names again,
+which would be quite error prone.
@node Support for Other Languages
@comment node-name, next, previous, up
--
1.6.3.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 6/8] Qt: documentation update.,
Gergely Risko <=