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

doc: some snippets in PathText are using Text instead, and are short / not runnable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.6
    • Quick: Shapes
    • None

    Description

      https://doc.qt.io/qt-6/qml-qtquick-pathtext.html

      I've had to fix such things before too, by specializing the docs in the subclass (such as QTBUG-106878 / QTBUG-74020). For example this brings in a snippet that is not specialized for PathText:

      /*!
          \qmlproperty object QtQuick::PathText::font.features
          \since 6.6
      
          \include qquicktext.cpp qml-font-features
      */
      

      It would be nice if at least one snippet was complete enough to see how it fits into the Shape, and was directly runnable. We only have one example like that: examples/quickshapes/shapes/text.qml

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes