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

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.10
    • Build tools: qdoc
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated: