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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.10
    • Build tools: qdoc
    • DaVinci 122, DaVinci 123

      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.

       

        For Gerrit Dashboard: QTBUG-61571
        # Subject Branch Project Status CR V

            paulwicking Paul Wicking
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change