qtcentre.org qtcentre.org

QGraphicsProxyWidget usage leads to QApplication destructor crashing

Recently I needed to insert several buttons into QGraphicsScene and implemented it as it was described in Qt examples (I use Qt 5.15.2): Code: QMyWidget* widget;// ...// initializing widget, adding layout, adding 3 QPushButton’s to this layoutQMyGraphicsScene* scene;// initializing some my sceneQGraphicsProxyWidget* proxy = scene->addWidget (widget); Everything works fine, aside from a mysterious crash happening on the application...