diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-02-21 14:18:39 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2020-03-04 10:27:59 +0100 |
commit | 040a420b898f3e768b59875064762c5a89503ccd (patch) | |
tree | 0ef1652e4b0b3c550d2c277d1e9507c9cb26393a | |
parent | fc7418d293fa3e9fceead80fab78844980726dea (diff) |
QDoc: Add warning about future removal of QA page option
Change-Id: I3b8225cc6bb175df67d958763597f764acfc8d81
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r-- | src/qdoc/config.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qdoc/config.cpp b/src/qdoc/config.cpp index f6df0823b..b8cf0f17d 100644 --- a/src/qdoc/config.cpp +++ b/src/qdoc/config.cpp @@ -32,6 +32,7 @@ #include "config.h" #include "generator.h" +#include "loggingcategory.h" #include <QtCore/qdebug.h> #include <QtCore/qdir.h> @@ -391,8 +392,11 @@ void Config::processCommandLineOptions(const QStringList &args) Generator::setQDocPass(Generator::Generate); if (m_parser.isSet(m_parser.singleExecOption)) Generator::setSingleExec(); - if (m_parser.isSet(m_parser.writeQaPagesOption)) + if (m_parser.isSet(m_parser.writeQaPagesOption)) { Generator::setWriteQaPages(); + qCWarning(lcQdoc, + "The QA pages option for QDoc is deprecated and will be removed in Qt 6."); + } if (m_parser.isSet(m_parser.logProgressOption)) Location::startLoggingProgress(); if (m_parser.isSet(m_parser.timestampsOption)) |