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

Improvements to doc handling of QML types with same name and different imports

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.10
    • Fix Version/s: None
    • Component/s: Build tools: qdoc
    • Labels:
      None

      Description

      qtdeclarative/dev has now merged the new shape plugin, which provides some types under the import QtQuick.Shapes 1.0. The names are fairly generic and in some cases clash with names in some more obscure plugins, for example particles. The way these show up in the generated documentation is somewhat confusing. Example pictures:

      Both show up under the exact same name in the big class list:

      Note that the "Inherited by" section is all wrong! Those are under the particles import and have nothing to do with Shape in QtQuick.Shapes.

       

      There are other such "conflicts" as well, for instance Qt3D and Data Visualization both provide a Scene3D type. The result is incorrect linking to datavis' type instead of the qt3d one on the "Qt 3D: Scene3D QML Example" page.

       

        Attachments

        1. image-2017-06-22-09-46-38-043.png
          10 kB
          Laszlo Agocs
        2. image-2017-06-22-09-47-27-603.png
          32 kB
          Laszlo Agocs

          Issue Links

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

            Activity

              People

              Assignee:
              docinfrastructure Documentation Infrastructure Team
              Reporter:
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes