summaryrefslogtreecommitdiff
path: root/src/qdoc/cppcodemarker.cpp
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2020-05-18 10:42:25 +0200
committerPaul Wicking <paul.wicking@qt.io>2020-05-26 15:51:19 +0200
commitb80db738944e2c1513a61c1086bb2c27be0c676e (patch)
treece95617000a2650c81f15f7ebb347dacecfd7dd5 /src/qdoc/cppcodemarker.cpp
parent2b0fb3618ff718eec89bbcd155758a719865efef (diff)
downloadqttools-b80db738944e2c1513a61c1086bb2c27be0c676e.tar.gz
QDoc: Add CMake package information to documentation
This introduces a new command to QDoc, \qtcmakepackage. The command works exactly like the \qtvariable command. The command adds a table row in class and namespace documentation pages. This entry contains CMake: find_package(Qt6 COMPONENT Foo) target_link_libraries(mytarget PUBLIC Qt::Foo) ...immediately preceding the existing "qmake: += Foo" row. [ChangeLog][qdoc] Added a new QDoc command, \qtcmakepackage, that adds CMake snippets to class and namespace documentation. Fixes: QTBUG-84024 Pick-to: 5.15 Change-Id: I687813c76d92f20ec1eac6229ca2c5ef22ca3591 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> Reviewed-by: Thibaut Cuvelier <cuvelier.thibaut@gmail.com>
Diffstat (limited to 'src/qdoc/cppcodemarker.cpp')
0 files changed, 0 insertions, 0 deletions