1
내 OS가 win10이고 QT 버전이 Qt5.7 mingw53_32이고 대상 OS가 win10입니다.QT : 모듈 "QtWebView"가 설치되지 않았습니다.
qrc:/[...].qml:3 module "QtWebView" is not installed
내 QML 파일이 다음입니다 : 나는 QML 파일을 excute에 할 qmlscene
를 사용하는 경우, 일부 오류가 발생했습니다.
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
}
}
}
}
가능한 복제에 의해 제공되는 하나 [누락 된 Qt는 모듈을 설치하는 방법?] (http://stackoverflow.com/questions/40200094/how-to-install-a-missing -qt-module) – Mike
대상 플랫폼이 무엇입니까? – MrEricSir
@MrEricSir : "내 OS는 win10이고 QT 버전은 Qt5.7 mingw53_32입니다."[[인용 : 첫 번째 줄]. 크로스 컴파일은 언급되지 않았으므로 이것이 타겟 플랫폼이라고 가정하는 것이 안전하다고 생각합니까? – derM