I have an application that uses Qt WebEngine. But I found that after closing my application or after crashing it "Qtwebengineprocess" still stays on. My app is too big to show it here, but here is a little example which also demostrates the problem:
#include <QApplication>
#include <QWebEngineView>
#include <QProcess>
#include <QTimer>
int main(int argc, char **argv)
{
QApplication app(argc, argv);
QWebEngineView* viewer = new QWebEngineView(NULL);
viewer->show();
viewer->load(QUrl("https://www.telegraph.co.uk/content/dam/Pets/spark/royal-canin/tabby-kitten-small.jpg?imwidth=1400"));
QTimer::singleShot(2000, []() {
exit(-1);
});
app.exec();
delete viewer;
return 0;
}
Did I forget to set up some thing? Or this is a Qt bug? Thanks in advance.
UPD: Qt 5.11, Win10