diff --git a/src/controls/Private/qquickstyleitem.cpp b/src/controls/Private/qquickstyleitem.cpp index 02b7a5e365ef4a273b2eb63ae44de887b74a5078..50a48f0e2a9dc09cfd18177d9233146f73bcbd33 100644 --- a/src/controls/Private/qquickstyleitem.cpp +++ b/src/controls/Private/qquickstyleitem.cpp @@ -1470,6 +1470,14 @@ QSGNode *QQuickStyleItem::updatePaintNode(QSGNode *node, UpdatePaintNodeData *) if (!styleNode) styleNode = new QQuickStyleNode; +#ifdef QSG_RUNTIME_DESCRIPTION + qsgnode_set_description(styleNode, + QString::fromLatin1("%1:%2, '%3'") + .arg(style()) + .arg(elementType()) + .arg(text())); +#endif + styleNode->setTexture(window()->createTextureFromImage(m_image, QQuickWindow::TextureCanUseAtlas)); styleNode->setRect(boundingRect()); return styleNode;