Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGLWidget flickering in QMdiArea tab view and style with Aero on Windows

QGLWidget flickering in QMdiArea tab view and style with Aero on Windows

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alex_malyu
    wrote on last edited by
    #1

    QGLWidget is flickering in QMdiArea tab view and style with Aero on Windows (Qt 4.6.8).
    Result if awful, I was able to take picture and background was shown from the VC code below to rectangles.

    Flickering can be removed by disabling Qt::WA_PaintOnScreen attribute which at the first glance does not affect functionality.
    Any suggestions what can be done?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alex_malyu
      wrote on last edited by
      #2

      Still can't solve the problem.

      I tried to change the style of the widget to ignore Aero (filling background, ets) but can't find what should be changed.

      Any help is appreciated

      Regards,
      Alex.

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi,

        QGLWidget is known for multiple issues when put inside QMdiArea. It is now deprecated, and replaced with QOpenGLWidget.

        The only feasible way to resolve your issue is to upgrade to Qt 5.4 and use "QOpenGLWidget":http://doc.qt.io/qt-5/qopenglwidget.html

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • A Offline
          A Offline
          alex_malyu
          wrote on last edited by
          #4

          Thanks for comment.
          Unfortunately due to 3rd party software compatibility I have to use Qt 4.8.

          Alex

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            I'm afraid I don't have any solutions for Qt 4.8 :(

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0
            • A Offline
              A Offline
              alex_malyu
              wrote on last edited by
              #6

              In case anybody interested, no solution found except
              disabling Qt::WA_PaintOnScreen attribute.
              On Windows it seems does not produce any negative effects.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved