No WebView plug-in found!
-
Can you start your application with the
QT_DEBUG_PLUGINS
environment variable set to 1 ? This should give some additional clues. -
Can you start your application with the
QT_DEBUG_PLUGINS
environment variable set to 1 ? This should give some additional clues. -
Great !
What was it ?
-
wrote on 16 Feb 2019, 10:58 last edited by
I have the same issue. I also tried adding QT_DEBUG_PLUGINS=1 to .pro as well as setting the same environment variable, but these did not help..
I am using msys/mingw64 Qt build: http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-qt5-5.12.1-2-any.pkg.tar.xz
In the log I can the warning: (qwebviewfactory.cpp:92) No WebView plug-in found! -
Hi,
The QtWebView module uses QtWebEngine on Windows. And as already written, this module is only available with MSVC2017 because of chromium.
-
wrote on 1 Jul 2020, 06:39 last edited by kdsurya 7 Jan 2020, 06:39
In Qt 5.15.0, there will be similar error like this when deploying in Windows. My solution is to put
QtWebView::initialize();
after
QGuiApplication app(argc, argv);
There will be a warning said: QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future. but it's working.
-
In Qt 5.15.0, there will be similar error like this when deploying in Windows. My solution is to put
QtWebView::initialize();
after
QGuiApplication app(argc, argv);
There will be a warning said: QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future. but it's working.
wrote on 23 Oct 2020, 06:14 last edited by -
wrote on 30 Oct 2020, 09:50 last edited by