My OS is win10 and the version of QT is Qt5.7 mingw53_32 and the target os is win10. when I use qmlscene
to excute a qml file, it occurred some error:
qrc:/[...].qml:3 module "QtWebView" is not installed
My qml file is following.
import QtQuick 2.0 import QtQuick.Controls 1.0 import QtWebView 1.1 ScrollView { width: 1280 height: 720 WebView { id: webview url: "http://www.baidu.com" anchors.fill: parent onNavigationRequested: { // detect URL scheme prefix, most likely an external link var schemaRE = /^\w+:/; if (schemaRE.test(request.url)) { request.action = WebView.AcceptRequest; } else { request.action = WebView.IgnoreRequest; // delegate request.url here } } } }