PDA

View Full Version : module "QtWebEngine" is not installed - error in QML



ejoshva
5th May 2015, 11:07
I am trying to port from QGraphicsWebView to QWebEngineView.

There is a QML linked with the QGraphicsWebView where GraphicsWebVeiw is used directly in QML.

When I try to replicate the same funda using QWebEngineView (i.e.) replacing the GraphicsWebView with WebEngineView getting the below error.
module "QtWebEngine" is not installed

Kindly let me know how to get over this error. When I checked the QT installed directory got the below files in that folder.


DTPC-184N:~ user$ cd /Applications/QT/5.4/clang_64/qml/QtWebEngine
DTPC-184N:QtWebEngine user$ ls -lrt
total 416
-rw-r--r-- 1 root admin 70 Feb 13 15:55 qmldir
-rw-r--r-- 1 root admin 5786 Feb 13 15:56 plugins.qmltypes
drwxr-xr-x 5 root admin 170 Feb 13 15:56 experimental
drwxr-xr-x 10 root admin 340 Feb 13 15:56 UIDelegates
-rwxr-xr-x 1 root admin 56836 Feb 13 15:57 libqtwebengineplugin.dylib
-rwxr-xr-x 1 root admin 139492 Feb 13 15:57 libqtwebengineplugin_debug.dylib

dexterqt
10th December 2015, 01:52
In your .pro file, did you QT += webengine

Examine "quicknanobrowser" example to know how WebEngineView could be used