QtWebEngine and enable-logging
Unsolved
QtWebEngine
-
Hi all,
On windows, as soons as I create a basic QWebEngineView object with the --enable-logging argument, I have 2 QWebEngine processes that are started: one attached to the main application (the renderer) and one detached from the main application (type=utility), and shown in its own window. On Linux, the second process is attached to the main application and no window is shown.Is there a way to enable logging without having this window shown above the application ?
Code to repro the issue:
#include <QApplication> #include <QWebEngineView> int main(int argc, char *argv[]) { std::vector<char*> new_argv(argv, argv + argc); new_argv.push_back(const_cast<char *>("--enable-logging")); new_argv.push_back(nullptr); argv = new_argv.data(); argc = argc + 1; QApplication a(argc, argv); QWebEngineView w; w.load(QUrl("http://www.google.com")); w.show(); return a.exec(); }