Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15
-
None
-
GPU: Intel Iris(R) Xe Graphics
Description
I'm getting a big memory leak when I add a pixmap to a scene and then when I resize the window in run-time.
Below short code that produce the issue:
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) {
setupUi(this);
view_->setViewport(new QOpenGLWidget(this));
view_->setScene(new QGraphicsScene(this));
view_->scene()>addPixmap(QPixmap("test"));
}
I don't have the issue when OpenGL is not used (by removing view_->setViewport(new QOpenGLWidget(this))
This issue is not reproduced on all laptops. It's working on a laptop with NVIDIA Gefoirce GTX 960M and also working with Intel HD Graphics 530 but NOT working with Intel Iris Xe Graphics (driver version: 27.20.100.9030)