Qwidgets onto qglwidget without QGraphicsScene/QGraphicsView
-
Hi.
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.Using QMainWindow
QMainWindow w;
w.setCentralWidget(new CDrawingWidget(&w)); //CDrawingWidget == QGlWidgetgives 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?
Thanks!