No WebView plug-in found
-
Hi,
I have Qt 6.2.4 in Debian 11 environment. Qt is installed via Qt installer. I try to test minibrowser example (webview examples).
Example compiles and links in Qt Creator but when I try to start the example there is error 'No WebView plug-in found!'
I installed QtWebEngine and QtWebView via Qt Maintenance tool but it didn't help.
Snippet from log:
Got keys from plugin meta data QList("webengine")
QFactoryLoader::QFactoryLoader() checking directory path "/home/ahlaht/qt_projects/qtwebview/build-examples-Desktop_Qt_6_2_4_GCC_64bit-Debug/webview/minibrowser/webview" ...
Cannot load library /opt/Qt/6.2.4/gcc_64/plugins/webview/libqtwebview_webengine.so: (libQt6WebChannel.so.6: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/opt/Qt/6.2.4/gcc_64/plugins/webview/libqtwebview_webengine.so" : "Cannot load library /opt/Qt/6.2.4/gcc_64/plugins/webview/libqtwebview_webengine.so: (libQt6WebChannel.so.6: cannot open shared object file: No such file or directory)"/opt/Qt/6.2.4/gcc_64/plugins/webview/libqtwebview_webengine.so exists and access rights should be ok.
How can I solve this problem?
Thanks in advance!
-
@ahlaht said in No WebView plug-in found:
QtDesignStudio
QtDesignStudio is of no interest here. This lib needs to be in your Qt installation (/opt/Qt/6.2.4/gcc_64).
Maybe you did not install web channel module (https://doc.qt.io/qt-5/qtwebchannel-index.html)? -
-
These found:
/opt/Qt/Tools/QtDesignStudio-3.2.0-preview/qt6_design_studio_reduced_version/lib/libQt6WebChannel.so
/opt/Qt/Tools/QtDesignStudio-3.2.0-preview/qt6_design_studio_reduced_version/lib/libQt6WebChannel.prl
/opt/Qt/Tools/QtDesignStudio-3.2.0-preview/qt6_design_studio_reduced_version/lib/libQt6WebChannel.so.6
/opt/Qt/Tools/QtDesignStudio-3.2.0-preview/qt6_design_studio_reduced_version/lib/libQt6WebChannel.so.6.2.4
/opt/Qt/Tools/QtDesignStudio-3.2.0-preview/lib/Qt/lib/libQt6WebChannel.so.6
/opt/Qt/Tools/QtDesignStudio-3.2.0-preview/lib/Qt/lib/libQt6WebChannel.so.6.2.4
/opt/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/libQt6WebChannel.so
/opt/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/libQt6WebChannel.prl
/opt/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/libQt6WebChannel.so.6
/opt/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/libQt6WebChannel.so.6.2.4
/opt/Qt/Tools/QtDesignStudio/lib/Qt/lib/libQt6WebChannel.so.6.2.3
/opt/Qt/Tools/QtDesignStudio/lib/Qt/lib/libQt6WebChannel.so.6 -
@ahlaht said in No WebView plug-in found:
QtDesignStudio
QtDesignStudio is of no interest here. This lib needs to be in your Qt installation (/opt/Qt/6.2.4/gcc_64).
Maybe you did not install web channel module (https://doc.qt.io/qt-5/qtwebchannel-index.html)?