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

        Issue Links

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

          Activity

            People

              docinfrastructure Documentation Infrastructure Team
              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