Problem with QtWebview :: Project compiled but has issue in running
-
Hi,
I installed
qt
andqtwebview
in GuixSD. I want to build the example project ofqtwebview
:
https://github.com/qt/qtwebview/tree/5.12/examples/webview/minibrowserThe project was compiled with
qmake
and the executable file was generated (minibrowser
). But when I run theminibrowser
I get this error:No WebView plug-in found!
How can I fix it? Why this error occurred? Please help me.
-
Hi and welcome to devnet,
Start your application with the QT_DEBUG_PLUGINS environment variable set to 1. This will show what happens with the plugins loading.
-
Hi and welcome to devnet,
Start your application with the QT_DEBUG_PLUGINS environment variable set to 1. This will show what happens with the plugins loading.
@SGaist said in Problem with QtWebview :: Project compiled but has issue in running:
QT_DEBUG_PLUGINS
Thank you for your reply. This is the output of application when I set
QT_DEBUG_PLUGINS
environment variable to 1.Log File[0_1563080156365_log](Uploading 100%)
I don't know how can I use this log information. Do you see any problem with these logs?
-
@SGaist said in Problem with QtWebview :: Project compiled but has issue in running:
QT_DEBUG_PLUGINS
Thank you for your reply. This is the output of application when I set
QT_DEBUG_PLUGINS
environment variable to 1.Log File[0_1563080156365_log](Uploading 100%)
I don't know how can I use this log information. Do you see any problem with these logs?
Excuse apparently I can't upload the file here.
These lines are available in my log:
[...] loaded library "/gnu/store/644m36biz8f2n0j8bjw2k2m7051584iy-qt-5.11.3/lib/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so" Found metadata in lib /gnu/store/ilz7sxcwg2gd0qffavsp1vm4g6bn3b5d-qtwebview-5.11.3/lib/qt5/qml/QtWebView/libdeclarative_webview.so, metadata= { "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0", "MetaData": { }, "className": "QWebViewModule", "debug": false, "uri": [ "QtWebView" ], "version": 330499 } [...]
Where is the problem?
-
Please provide the full log. This entry alone doesn't contain all the data needed to check what is happening.
-
Please provide the full log. This entry alone doesn't contain all the data needed to check what is happening.
-
How did you install Qt ?
What version is it ?
Are you using an out of source build of the example ? -
How did you install Qt ?
What version is it ?
Are you using an out of source build of the example ?@SGaist I'm using
GuixSD
distribution (Linux) and install theQt
by its package managerguix
.
The5.11.3
is available inguix
package repository and I installed it. Also I'm using this example:https://github.com/qt/qtwebview/tree/5.12/examples/webview/minibrowser
-
Might be a silly question but did you check that your distribution provided Qt is complete ?
-
Might be a silly question but did you check that your distribution provided Qt is complete ?
-
You have to talk with the guys from the guix project about that matter.
The QtWebkit module has been deprecated and removed but not QtWebEngine. Note that @Konstantin-Tokarev is working on reboot of QtWebkit.
-
You have to talk with the guys from the guix project about that matter.
The QtWebkit module has been deprecated and removed but not QtWebEngine. Note that @Konstantin-Tokarev is working on reboot of QtWebkit.
-
Well, you have to talk with the folks of your distribution.
As for your trouble, I just remembered and IIRC, the QtWebView module is backed by QtWebEngine on platforms that don't provide a native web widget like iOS.
So you might be experiencing that.