QDockWidget white after move it
I use qt-5.5.1 x64.
For output images I use QOpenGLWidget subclass on QDockWidget.
After start application I see correct image on QDockWidget, but if I move it - I see only white space.
How can I solve this problem.
Thank you and excuse my bad english.
-->> After start application I see correct image on QDockWidget, but if I move it - I see only white space.
but if i remove means removing image from Dockwidget or total Dock from GUI?
What you are expecting to there after removing image from QDockWidget? Try this: If you are using QOpenGLWidget, you can set the background color using this f->glClearColor(0.0f, 0.0f, 0.0f, 0.0f); //gives you black
If it only image, you can use Qpainter instead of QOpenGLWidget.
Thank you for your reply!
Unfortunately I can't use QPainter because it very slow.