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

Make it possible to draw text with RHI

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Qt RHI
    • None

    Description

      With Qt6 and OpenGL you can draw text with QOpenGLPaintDevice and QPainter. There does not seem to be any way to draw text with Qt6 and RHI. We are considering porting a software from OpenGL to RHI and this is a show stopper.

      One way to address this would be to add a class QRhiPaintDevice. But there may be better ways, such as adding a function

          QRhiCommandBuffer::drawText(const QString& text, const QFont& font, ... );

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            jrade Johan Råde
            Maycon Stamboroski Maycon Stamboroski
            Eskil Abrahamsen Blomfeldt Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes