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

Unexplained empty ref attributes in qhp files

XMLWordPrintable

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

      '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'.

        For Gerrit Dashboard: QTBUG-37658
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes