Solved No WebView plug-in found!
-
Help Guys !
iam using the last version of Qt which is 5.12 , :)
-
Hi,
Might be a silly question but did you add
QT += webview
to your .pro file ? -
yes, i added QT += webview to .pro , but it's same thing , iam using MSVC 2017 kit
-
Can you check whether you have the QtWebView libraries in your installation ?
-
Did you enable QtWebEngine module when installing Qt?
-
@SGaist i checked C:\Qt\Qt5.12.0\5.12.0\msvc2017_64\lib
there's the libraries of QtWebView.
i tried to import it but it didn't work! -
@Konstantin-Tokarev yes , :)
-
@SGaist When i add QtWebView::initialize(); , it show me this error
Error -
RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
and it tells me that the qtwebviewfunctions.cpp Line 65 and just showing this in the output : Q_ASSERT(plugin); -
-
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