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

Simple text viewer example's assistant help file (simpletextviewer.qhc) content tab links do not work

XMLWordPrintable

    • 00ee178b2402720c915a76be40a2802024341bc6

      When opening "simpletextviewer.qhc" help file with assistant, the links in the contents tab do not work. The error message is:

      The page could not be found.
      'qthelp://org.qt-project.examples.simpletextviewer/doc/./openfile.html'
      

      The links seem to have an extra ./ for each file set which could be the cause for this:

      <section title="Find File" ref="./findfile.html">
      <section title="File Dialog" ref="./filedialog.html"></section>
      <section title="Wildcard Matching" ref="./wildcardmatching.html"></section>
      <section title="Browse" ref="./browse.html"></section>
      

      Steps to reproduce:

      • Run assistant on the simpletextviewer.qhc
          • assistant.exe -collectionFile <path_to_simpletextviewer.qhc> -enableRemoteControl
      • In "Contents" tab, expand "Simple Text Viewer" node
      • Click "Open File" child node
      • EXPECTED: openfile.html is shown in the view
      • ACTUAL: Error message is shown

      This is reproducible also with the simple text viewer example, opening the assistant from Help -> Help Contents (F1).

        1. qtbug67496_repro.diff
          1 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            docteam Qt Documentation Team
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes