Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
5.5.1
-
None
-
Linux x64
Description
I get the following graphics corruption.
I want to display a transparent QML widget in QGraphicsScene.
auto obj = new QGraphicsProxyWidget(this); // 'this' is a QGraphicsItem obj->setAutoFillBackground(false); auto widg = new QQuickWidget; widg->setStyleSheet("background-color: rgba(0,0,0,0)"); widg->setAutoFillBackground(false); widg->setSource(QUrl("qrc:/DummyProcess.qml")); widg->setClearColor(Qt::transparent); widg->setAttribute(Qt::WA_TranslucentBackground, true); widg->show(); obj->setWidget(widg);
My QML :
import QtQuick 2.3 Item { id: root width: 200 height: 100 Text { text: 'toto' color: "yellow" } }