Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.7.1
-
None
-
Qt 6.7.1
Android 14 (API 34), NDK r26b
Compiled on Windows 11 with prebuilt CLang toolchain
Description
On android, when I add a QGraphicsProxyWidget to a QGraphicsScene, the app just freezes. No event is dispatched and rendering hangs. The app is still responding though.
At first I though it was my app fault (because it is quite big, it may have dumb bugs), but I easily managed to reproduce the bug.
I tried to use a different rendering backend : no changes.
Here is my test code. The entire project is in the attached documents.
#include "testproxy.h" #include "ui_testproxy.h" #include <QGraphicsProxyWidget> #include <QSlider> TestProxy::TestProxy(QWidget *parent) : QWidget(parent), ui(new Ui::TestProxy) { ui->setupUi(this); auto* qslider = new QSlider(); auto* prox = new QGraphicsProxyWidget(); prox->setWidget(qslider); prox->setGeometry(QRectF{0, 0, 100, 500}); auto* scene = new QGraphicsScene(); scene->addItem(prox); ui->graphicsView->setScene(scene); } TestProxy::~TestProxy() { delete ui; }