diff options
author | Martin Smith <msmith@trolltech.com> | 2009-05-25 12:46:20 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-05-26 03:51:59 (GMT) |
commit | 499d0a8526380952d6dfd2155a1b9ac246c5f116 (patch) | |
tree | 267b23c244a6493a2d3427a356f949dbfe61a9d4 | |
parent | dc830089241e4046a291570129f069c0f013d7b6 (diff) | |
download | Qt-499d0a8526380952d6dfd2155a1b9ac246c5f116.zip Qt-499d0a8526380952d6dfd2155a1b9ac246c5f116.tar.gz Qt-499d0a8526380952d6dfd2155a1b9ac246c5f116.tar.bz2 |
Changed qdoc program to display version from QT_VERSION_STR.
Task-number: 251486
(cherry picked from commit 1a477dcad1171d2d195422072fce62fc936e56cb)
-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 dd53551..b966c98 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); } /*! |