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

qdoc cannot find class in any header file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.11.0 Beta 2
    • Build tools: qdoc
    • None

    Description

      Suppose I have a file named class.h with some class Class in it and no source file. When documenting it in a *.qdoc file I get the following error:

      someclass.qdoc:1: (qdoc) warning: Cannot find 'Class' specified with '\class' in any header file

      I have noticed that by adding source file that includes the header makes qdoc to find the class. However if the header is not included (e.g. template class that is header-only and not used anywhere) it makes it impossible to document.

      Attaching sample directory demonstrating the problem.

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            resurr3ction Michael Vlach
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes