Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-130670

qdoc fails with nested namespaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9
    • Build tools: qdoc
    • None

    Description

      Consider the following project

      foo.qdocconf

      project = Foo
      description = Stuff
      documentationinheaders = true
      headerdirs = .
      sourcedirs = . 

      foo.qdoc

      /*!
          \module Foo
          \title Foo C++ Classes
          \brief Stuff
      */ 

      foo.h

      namespace ANamespace {
      namespace Nested {
          /*!
           * \class ANamespace::Nested::Foo
           * \inmodule Foo
           *
           * A class
           */
          class Foo {
          };
      };
      }; 

      foo.cpp

      #include "foo.h" 

      The generated foo-module.html has

      <a href="anamespace-nested-foo.html">ANamespace::Nested::Foo</a>

      but no anamespace-nested-foo.html is created.

      It works correctly with a single, non-nested namespace

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            docinfrastructure Documentation Infrastructure Team
            nicolasfella Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes