Horrible UI rendering errors when a QCustomPlot is docked to the main window
Unsolved
General and Desktop
-
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
QApplication::setAttribute(Qt::AA_NativeWindows);
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?
-
Hi,
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 ?