For unknown reasons this did not SEGFAULT with Qt<5.14.0. Official Qt docs says that deleteLater is the preferred method https://doc.qt.io/qt-5/qobject.html#deleteLater
For unknown reasons this did not SEGFAULT with Qt<5.14.0. Official Qt docs says that deleteLater is the preferred method https://doc.qt.io/qt-5/qobject.html#deleteLater