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

Unexplained empty ref attributes in qhp files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.0
    • 5.3.0 Alpha
    • Build tools: qdoc
    • None
    • ebbb21109506bd10f3477cd58065be46b1627e9a

    Description

      'make docs', i.e. running qhelpgenerator, yields ~180 warnings about 'Missing attribute in keyword at line NNN.' (Previously, we only had a couple). This is because .qhp files have a lot of lines like:

      <section ref="" title="C++ Classes">
      and
      <keyword name="QtCore" id="QtCore" ref=""/>

      That is, empty ref attributes. To me it seems that qdoc is now generating more keywords than previously, and cannot find ref pages for them. Missing section refs are also problematic: For example, open qtcore.qch in assistant, and select 'C++ Classes' in the left-hard contents view -> 'The page could not be found'.

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            gbk Martin Smith (Qt)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes