qwidgets onto qglwidget without QGraphicsScene/QGraphicsView
I have a problem with performance of my Opengl program, based on QGraphicsScene/QGraphicsView.
There are complex calculations with every MouseMove, and period between MouseMove event is about 5 msec if I am using QGraphicsScene/QGraphicsView and QProxyWidgets.
QMainWindow w; w.setCentralWidget(new CDrawingWidget(&w)); //CDrawingWidget == QGlWidget
gives 50 msec between MouseMove event. Much faster, but there are problems with widgets onto MainWindow.
For example all widget shadow area is white.
Can anybody give some advise how to solve the problem?