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

Rendering of text fails in QGraphicsView when mixing Qt and OpenGL rendering.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.8.x
    • 4.7.0
    • GUI: OpenGL, GUI: Painting
    • None
    • Linux 2.6.18-164.15.1.el5 Centos 5.4 x86_64
      Qt 4.7-beta src package compiled on this platform

      I having problems with using combined QPainter and OpenGL rendering. I experienced different problems in different versions of Qt( 4.5, 4.6), but for this bug report I made a testcase using Qt 4.7-beta. I put some OpenGL code in drawBackground() method my subclass of QGraphicsView. This code prevents from working properly rendering of the text in drawForeground() method. Commenting out content of drawBackground() makes text appear as it should be. There is also a call to draw a line in drawForeground and it seems to be unaffected by OpenGL calls.

        1. bug_canvas.tar.bz2
          1 kB
          Eldar Insafutdinov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            eldar_insafutdinov Eldar Insafutdinov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes