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

Make it possible to draw text with RHI

XMLWordPrintable

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

      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, ... );

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

            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

              Created:
              Updated:

                There are no open Gerrit changes