summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/pagegenerator.cpp
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2010-03-01 10:43:09 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-03-01 10:43:09 (GMT)
commit3e03276736d89e1ab214b50d57bf2ba6f6d560f7 (patch)
treee529f22c7d2fde2d988174e8709041497c31a47c /tools/qdoc3/pagegenerator.cpp
parent0fa408468327672f7e1ad8c628dc073c43bf2b3f (diff)
downloadQt-3e03276736d89e1ab214b50d57bf2ba6f6d560f7.zip
Qt-3e03276736d89e1ab214b50d57bf2ba6f6d560f7.tar.gz
Qt-3e03276736d89e1ab214b50d57bf2ba6f6d560f7.tar.bz2
Introduce optional qdoc_bootstrapped qmake flag
This allows building documentation even when cross-compiling. Note that for official documentation, you should always use your host's qdoc3 binary. This qmake option is for testing whether you introduced new qdoc warnings even if you don't have a native build around.
Diffstat (limited to 'tools/qdoc3/pagegenerator.cpp')
-rw-r--r--tools/qdoc3/pagegenerator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/qdoc3/pagegenerator.cpp b/tools/qdoc3/pagegenerator.cpp
index 2cad9ed..f0f14fe 100644
--- a/tools/qdoc3/pagegenerator.cpp
+++ b/tools/qdoc3/pagegenerator.cpp
@@ -43,7 +43,6 @@
pagegenerator.cpp
*/
-#include <QtCore>
#include <qfile.h>
#include <qfileinfo.h>
@@ -212,7 +211,7 @@ void PageGenerator::generateInnerNode(const InnerNode *node,
#endif
if (fakeNode->subType() == Node::Page) {
if (node->count() > 0)
- qDebug() << "PAGE" << fakeNode->title() << "HAS CHILDREN";
+ qDebug("PAGE %s HAS CHILDREN", qPrintable(fakeNode->title()));
}
}