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

QDoc: Path wrong for images placed in /used-in-examples

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.11.1, 5.12
    • Fix Version/s: 5.11.2
    • Component/s: Build tools: qdoc
    • Labels:
      None

      Description

      Image files (assets) get put in a generic used-in-examples directory, while the URL that's generated for the image includes the example name and path to the image as in the code repository. The result is that the link(s) to image(s) in the example give 404s all over the place.

      For example, the following example page:

      http://doc-snapshots.qt.io/qt5-dev/qtassistant-simpletextviewer-example.html

      At the bottom, the link to the file mainwindow.png has the following URL:

      http://doc-snapshots.qt.io/qt5-dev/images/used-in-examples/simpletextviewer/documentation/images/mainwindow.png

      The image is actually located at:

      http://doc-snapshots.qt.io/qt5-dev/images/used-in-examples/mainwindow.png

      This is a regression from 5.10, where the images linked correctly:

      http://doc-snapshots.qt.io/qt5-5.10/images/used-in-examples/simpletextviewer/documentation/images/mainwindow.png

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                treinio Topi Reiniö
                Reporter:
                paulwicking Paul Wicking
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes