diff options
author | Martin Smith <msmith@trolltech.com> | 2009-05-25 12:46:20 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-05-25 12:46:20 (GMT) |
commit | 1a477dcad1171d2d195422072fce62fc936e56cb (patch) | |
tree | 621c49fb5ec303c309ac1309b0b4b625774a2516 /tools | |
parent | fa341212e574ef5970c4676456763b6b014e44c5 (diff) | |
download | Qt-1a477dcad1171d2d195422072fce62fc936e56cb.zip Qt-1a477dcad1171d2d195422072fce62fc936e56cb.tar.gz Qt-1a477dcad1171d2d195422072fce62fc936e56cb.tar.bz2 |
Changed qdoc program to display version from QT_VERSION_STR.
Task-number: 251486
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qdoc3/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qdoc3/main.cpp b/tools/qdoc3/main.cpp index 3e6f832..5c247fa 100644 --- a/tools/qdoc3/main.cpp +++ b/tools/qdoc3/main.cpp @@ -43,6 +43,7 @@ main.cpp */ +#include <qglobal.h> #include <QtCore> #include <stdlib.h> #include "apigenerator.h" @@ -136,7 +137,8 @@ static void printHelp() */ static void printVersion() { - Location::information(tr("qdoc version 4.4.1")); + QString s = QString(tr("qdoc version ")) + QString(QT_VERSION_STR); + Location::information(s); } /*! |