From e4f99e0285cca44e72004f01f57670d0e81e7679 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Wed, 31 Jul 2013 18:43:42 +0200 Subject: Doc: Added \qtvariable command to QDoc. Specifies the QT variable needed in the .pro file. The argument of the command is the qmake QT variable. To use, add "\qtvariable " to a QDoc comment which contains the \module command. QDoc will then associate the class with the QT variable. Only supported for C++ classes at the moment. Part of work done for QTBUG-32172 Task-number: QTBUG-32172 Change-Id: Ia8eea30fcfc771191c23a5f5994a48732959ea49 Reviewed-by: Martin Smith --- src/tools/qdoc/cppcodeparser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools/qdoc/cppcodeparser.h') diff --git a/src/tools/qdoc/cppcodeparser.h b/src/tools/qdoc/cppcodeparser.h index d23cc25d332..5ab72f7f549 100644 --- a/src/tools/qdoc/cppcodeparser.h +++ b/src/tools/qdoc/cppcodeparser.h @@ -241,6 +241,7 @@ protected: #define COMMAND_LICENSENAME Doc::alias("licensename") #define COMMAND_LICENSEDESCRIPTION Doc::alias("licensedescription") #define COMMAND_RELEASEDATE Doc::alias("releasedate") +#define COMMAND_QTVARIABLE Doc::alias("qtvariable") QT_END_NAMESPACE -- cgit v1.2.3