Important: Please read the Qt Code of Conduct -

Horrible UI rendering errors when a QCustomPlot is docked to the main window

  • If I dock a QCustomPlot to my main window, I experience terrible rendering errors: toolbars buttons randomly not rendering, until I move the mouse over them. Tabs of the docked widgets not rendering. Really bad flickering of my QOpenGLWidget whenever the QCustomPlot renders.

    On Windows, the problem is solved by


    This does not solve the issue on Mac, however.

    If the QDockWidgets are free floating, or closed, there are no problems.

    Anyone have any ideas?

  • Lifetime Qt Champion


    What version of Qt are you using ?
    What version of Windows and macOS are you running ?
    Did you took that question to the QCustomPlot developers ?
    Do you have the same problem if you don't have a QOpenGLWidget in your application ?

Log in to reply