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

Qhelpgenerator endless loop with -c option

    XMLWordPrintable

Details

    • 99ba60bad9 (qt/qttools/dev) 51a0a407a2 (qt/qttools/6.3) 36a2562ee9 (qt/qttools/6.2) 36a2562ee9 (qt/tqtc-qttools/6.2) 51a0a407a2 (qt/tqtc-qttools/6.3) 99ba60bad9 (qt/tqtc-qttools/dev) 51a0a407a2 (qt/qttools/6.3.0) 51a0a407a2 (qt/tqtc-qttools/6.3.0)
    • DaVinci sprint 52

    Description

      When running qhelpgenerator with the option -c, as discussed here: https://github.com/doxygen/doxygen/issues/9135#issuecomment-1046743453

       

      qhelpgenerator version 6.1.2 and 6.2.2 enters an infinite loop with a very small test project.

      Running with version 5.15.2, it works out of the box and finishes in less than a second.

      A minimal reproducer can be found in the link above.
       

      Also, could it be clarified what the option -c exactly does? It seems that in version 5, it only looks for files in the "files" section, but not in the "toc". Does it also check recursively for links inside the HTML files itself, or just those in the qhp index? Right now, it looks ambiguous:

       

      Usage:
      
      qhelpgenerator <help-project-file> [options]
      
        -o <compressed-file>   Generates a Qt compressed help
                               file called <compressed-file>.
                               If this option is not specified
                               a default name will be used.
        -c                     Checks whether all links in HTML files
                               point to files in this help project.
        -v                     Displays the version of 
                               qhelpgenerator.
      

       

      Attachments

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

        Activity

          People

            veshivas Venugopal Shivashankar
            fmercury Ferdy Mercury
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes