Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.9
-
16239de72 (dev)
-
DaVinci 107
Description
Consider the following project
foo.h
/*! * \namespace Foo * A namespace * \inmodule Foo */ namespace Foo { /*! * does stuff */ void doStuff(); }
bar.h
namespace Foo { /*! * \class Foo::Bar * \inmodule Foo */ class Bar { }; /*! * Create a Bar */ Bar createBar(); }
foo.qdoc
/*! \module Foo \title Foo C++ Classes \brief Stuff. */
foo.qdocconf
project = Foo
description = Stuff
documentationinheaders = true
headerdirs = .
sourcedirs = .
This will create two main pages, foo.html and bar.html
foo.html will show the namespace and the two functions doSomething() and createBar(). It also says to #include <Foo> to use createBar().
However createBar actually needs #include <Bar>, and it much more closely associated with the Bar class. Therefore I want it to be part of bar.html instead.
To achieve that I tried to add "\relates Foo::Bar" to createBar(), but that doesn't change anything. And neither does "\inheaderfile Bar"
Attachments
For Gerrit Dashboard: QTBUG-130674 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
602818,1 | qdoc: Allow \relates for class/namespace members | 6.8 | qt/qttools | Status: NEW | +2 | 0 |
602370,7 | qdoc: Allow \relates for class/namespace members | dev | qt/qttools | Status: MERGED | +2 | 0 |