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

No way to draw text in a custom QQuickItem (QSGTextNode does not exist).

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.4.0
    • None
    • NA

    Description

      As far as I can tell there is no way to draw test in a custom QQuickItem that is easy and fast. There should be a QSGTextNode but that does not exist.

      Many people want this, e.g. for graph labels. There are some hacks around it (e.g. calling through to QML to create a Text item) but that is clumsy and slow.

      In my case I'm trying to create a log widget (like the compiler output window in Qt Creator), but it seems to be impossible because TextEdit is just too buggy and heavyweight and scales badly.

      Attachments

        Issue Links

          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
              timmmm Tim
              Votes:
              8 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes