Qt draw into buffer instead of widget.
is there any possibility to draw Qt elements(like button, menu and e.t.c) in buffer instead of widget?
for example: Create some QPushButton and store button pixel data into buffer and do not render on widget?
QPixmap pixmap(widget->size()); widget->render(&pixmap);
can I render into GPU buffer? by setting GLWidget or QOpenGLFramebuffer into QPaintDevice ?
sorry, i personally don't have any experience with OpenGL.
Maybe someone else can answer this question for you?