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

QPen::setDashOffset() has no effect on QGLWidget (drawLine)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.2
    • 4.6.3, 4.7.0
    • GUI: OpenGL, GUI: Painting
    • None
    • openSUSE 11.3 32bit, gcc 4.5,
      GeForce 8800 GTS, NVIDIA Driver Version: 256.53
    • 6c8dcd5744e2c14d122f0967de72a9e171dd9715

      Drawing standard DashLine or CustomDashLine with QPainter into
      QGLWidget inside ist paintEvent.

      when drawing into QGLWidget(), QPen::setDashOffset() has no effect
      when drawing into QWidget(), QPen::setDashOffset() works fine

      see example main.cpp:
      In QGLWidget window, animated DashLine does not move.

        1. qtest.pro
          0.3 kB
        2. main.cpp
          1.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ylopes Yoann Lopes
            hc Michal Dvoracek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes