Solved 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. -
-
Great !
What was it ?
-
@SGaist i just wanted to show a web page with QtWebView , that was all :) , Thank you again ! :)
-
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.
-
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.
-
-
Hello, how did you solve your problem? I also met the same problem with you. Am I in China