2

在此处输入图像描述看了这篇,我发现从Qt5.4开始,Qt团队不支持QtWebView,他们说会支持QtWebEngine,但是我从安装的文件夹中找不到头文件,输出结果如下:

  localhost:Qt5.4.1_mobile mac$ find ./ -iname "*QtWebEngine*"
.//5.4/clang_64/lib/QtWebEngine.framework
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine.prl
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine_debug
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine_debug.prl
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/5.4.1/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/5.4.1/QtWebEngine/private/qtwebengineglobal_p.h
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/QtWebEngineDepends
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/qtwebengineglobal.h
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/QtWebEngineVersion
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/qtwebengineversion.h
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/QtWebEngine_debug
.//5.4/clang_64/lib/QtWebEngine.la
.//5.4/clang_64/lib/QtWebEngine_debug.la
.//5.4/clang_64/lib/QtWebEngineCore.framework
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore.prl
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore_debug
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore_debug.prl
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Helpers/QtWebEngineProcess.app
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/QtWebEngineCore
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/QtWebEngineCore_debug
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Resources/qtwebengine_locales
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Resources/qtwebengine_resources.pak
.//5.4/clang_64/lib/QtWebEngineCore.la
.//5.4/clang_64/lib/QtWebEngineCore_debug.la
.//5.4/clang_64/lib/QtWebEngineWidgets.framework
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets.prl
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets_debug
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets_debug.prl
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/5.4.1/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/QtWebEngineWidgetsDepends
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/qtwebenginewidgetsglobal.h
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/QtWebEngineWidgetsVersion
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/qtwebenginewidgetsversion.h
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets_debug
.//5.4/clang_64/lib/QtWebEngineWidgets.la
.//5.4/clang_64/lib/QtWebEngineWidgets_debug.la
.//5.4/clang_64/qml/QtWebEngine
.//5.4/clang_64/qml/QtWebEngine/experimental/libqtwebengineexperimentalplugin.dylib
.//5.4/clang_64/qml/QtWebEngine/experimental/libqtwebengineexperimentalplugin_debug.dylib
.//5.4/clang_64/qml/QtWebEngine/libqtwebengineplugin.dylib
.//5.4/clang_64/qml/QtWebEngine/libqtwebengineplugin_debug.dylib
.//5.4/Src/qtdoc/doc/src/images/qtwebengine_quicknanobrowser.jpg
.//5.4/Src/qtwebengine
.//5.4/Src/qtwebengine/include/QtWebEngine
.//5.4/Src/qtwebengine/include/QtWebEngine/5.4.1/QtWebEngine
.//5.4/Src/qtwebengine/include/QtWebEngine/5.4.1/QtWebEngine/private/qtwebengineglobal_p.h
.//5.4/Src/qtwebengine/include/QtWebEngine/QtWebEngine
.//5.4/Src/qtwebengine/include/QtWebEngine/qtwebengineglobal.h
.//5.4/Src/qtwebengine/include/QtWebEngine/QtWebEngineVersion
.//5.4/Src/qtwebengine/include/QtWebEngine/qtwebengineversion.h
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/5.4.1/QtWebEngineWidgets
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/QtWebEngineWidgets
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/qtwebenginewidgetsglobal.h
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/QtWebEngineWidgetsVersion
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/qtwebenginewidgetsversion.h
.//5.4/Src/qtwebengine/qtwebengine.pro
.//5.4/Src/qtwebengine/src/core/qtwebengine.gypi
.//5.4/Src/qtwebengine/src/core/qtwebengine_extras.gypi
.//5.4/Src/qtwebengine/src/core/qtwebenginecoreglobal.h
.//5.4/Src/qtwebengine/src/webengine/api/qtwebengineglobal.cpp
.//5.4/Src/qtwebengine/src/webengine/api/qtwebengineglobal.h
.//5.4/Src/qtwebengine/src/webengine/api/qtwebengineglobal_p.h
.//5.4/Src/qtwebengine/src/webengine/doc/qtwebengine.qdocconf
.//5.4/Src/qtwebengine/src/webengine/doc/src/qtwebengine.qdoc
.//5.4/Src/qtwebengine/src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp
.//5.4/Src/qtwebengine/src/webenginewidgets/api/qtwebenginewidgetsglobal.h
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/qtwebenginewidgets.qdocconf
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/snippets/qtwebengine_build_snippet.qdoc
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/snippets/qtwebengine_qwebenginepage_snippet.cpp
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/snippets/qtwebengine_qwebengineview_snippet.cpp
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/src/qtwebenginewidgets.qdoc
.//5.4/Src/qtwebengine/tools/buildscripts/gyp_qtwebengine
.//5.4/Src/qtwebengine/tools/buildscripts/qtwebengine_utils.py
.//Docs/Qt-5.4/qtwebengine
.//Docs/Qt-5.4/qtwebengine/qtwebengine.index
.//Docs/Qt-5.4/qtwebengine/qtwebengine.qhp
.//Docs/Qt-5.4/qtwebengine/qtwebengine.tags
.//Docs/Qt-5.4/qtwebengine.qch
.//Docs/Qt-5.4/qtwebenginewidgets
.//Docs/Qt-5.4/qtwebenginewidgets/qtwebenginewidgets.index
.//Docs/Qt-5.4/qtwebenginewidgets/qtwebenginewidgets.qhp
.//Docs/Qt-5.4/qtwebenginewidgets/qtwebenginewidgets.tags
.//Docs/Qt-5.4/qtwebenginewidgets.qch
localhost:Qt5.4.1_mobile mac$ clear
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$ find ./ -iname "*QtWebEngine*"
.//5.4/clang_64/lib/QtWebEngine.framework
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine.prl
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine_debug
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine_debug.prl
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/5.4.1/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/5.4.1/QtWebEngine/private/qtwebengineglobal_p.h
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/QtWebEngineDepends
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/qtwebengineglobal.h
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/QtWebEngineVersion
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/qtwebengineversion.h
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/QtWebEngine_debug
.//5.4/clang_64/lib/QtWebEngine.la
.//5.4/clang_64/lib/QtWebEngine_debug.la
.//5.4/clang_64/lib/QtWebEngineCore.framework
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore.prl
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore_debug
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore_debug.prl
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Helpers/QtWebEngineProcess.app
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/QtWebEngineCore
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/QtWebEngineCore_debug
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Resources/qtwebengine_locales
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Resources/qtwebengine_resources.pak
.//5.4/clang_64/lib/QtWebEngineCore.la
.//5.4/clang_64/lib/QtWebEngineCore_debug.la
.//5.4/clang_64/lib/QtWebEngineWidgets.framework
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets.prl
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets_debug
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets_debug.prl
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/5.4.1/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/QtWebEngineWidgetsDepends
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/qtwebenginewidgetsglobal.h
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/QtWebEngineWidgetsVersion
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/qtwebenginewidgetsversion.h
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets_debug
.//5.4/clang_64/lib/QtWebEngineWidgets.la
.//5.4/clang_64/lib/QtWebEngineWidgets_debug.la
.//5.4/clang_64/qml/QtWebEngine
.//5.4/clang_64/qml/QtWebEngine/experimental/libqtwebengineexperimentalplugin.dylib
.//5.4/clang_64/qml/QtWebEngine/experimental/libqtwebengineexperimentalplugin_debug.dylib
.//5.4/clang_64/qml/QtWebEngine/libqtwebengineplugin.dylib
.//5.4/clang_64/qml/QtWebEngine/libqtwebengineplugin_debug.dylib
.//5.4/Src/qtdoc/doc/src/images/qtwebengine_quicknanobrowser.jpg
.//5.4/Src/qtwebengine
.//5.4/Src/qtwebengine/include/QtWebEngine
.//5.4/Src/qtwebengine/include/QtWebEngine/5.4.1/QtWebEngine
.//5.4/Src/qtwebengine/include/QtWebEngine/5.4.1/QtWebEngine/private/qtwebengineglobal_p.h
.//5.4/Src/qtwebengine/include/QtWebEngine/QtWebEngine
.//5.4/Src/qtwebengine/include/QtWebEngine/qtwebengineglobal.h
.//5.4/Src/qtwebengine/include/QtWebEngine/QtWebEngineVersion
.//5.4/Src/qtwebengine/include/QtWebEngine/qtwebengineversion.h
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/5.4.1/QtWebEngineWidgets
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/QtWebEngineWidgets
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/qtwebenginewidgetsglobal.h
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/QtWebEngineWidgetsVersion
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/qtwebenginewidgetsversion.h
.//5.4/Src/qtwebengine/qtwebengine.pro
.//5.4/Src/qtwebengine/src/core/qtwebengine.gypi
.//5.4/Src/qtwebengine/src/core/qtwebengine_extras.gypi
.//5.4/Src/qtwebengine/src/core/qtwebenginecoreglobal.h
.//5.4/Src/qtwebengine/src/webengine/api/qtwebengineglobal.cpp
.//5.4/Src/qtwebengine/src/webengine/api/qtwebengineglobal.h
.//5.4/Src/qtwebengine/src/webengine/api/qtwebengineglobal_p.h
.//5.4/Src/qtwebengine/src/webengine/doc/qtwebengine.qdocconf
.//5.4/Src/qtwebengine/src/webengine/doc/src/qtwebengine.qdoc
.//5.4/Src/qtwebengine/src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp
.//5.4/Src/qtwebengine/src/webenginewidgets/api/qtwebenginewidgetsglobal.h
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/qtwebenginewidgets.qdocconf
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/snippets/qtwebengine_build_snippet.qdoc
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/snippets/qtwebengine_qwebenginepage_snippet.cpp
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/snippets/qtwebengine_qwebengineview_snippet.cpp
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/src/qtwebenginewidgets.qdoc
.//5.4/Src/qtwebengine/tools/buildscripts/gyp_qtwebengine
.//5.4/Src/qtwebengine/tools/buildscripts/qtwebengine_utils.py
.//Docs/Qt-5.4/qtwebengine
.//Docs/Qt-5.4/qtwebengine/qtwebengine.index
.//Docs/Qt-5.4/qtwebengine/qtwebengine.qhp
.//Docs/Qt-5.4/qtwebengine/qtwebengine.tags
.//Docs/Qt-5.4/qtwebengine.qch
.//Docs/Qt-5.4/qtwebenginewidgets
.//Docs/Qt-5.4/qtwebenginewidgets/qtwebenginewidgets.index
.//Docs/Qt-5.4/qtwebenginewidgets/qtwebenginewidgets.qhp
.//Docs/Qt-5.4/qtwebenginewidgets/qtwebenginewidgets.tags
.//Docs/Qt-5.4/qtwebenginewidgets.qch
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$ clear
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$
localhost:Qt5.4.1_mobile mac$ find ./ -iname "*QtWebEngine*"
.//5.4/clang_64/lib/QtWebEngine.framework
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine.prl
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine_debug
.//5.4/clang_64/lib/QtWebEngine.framework/QtWebEngine_debug.prl
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/5.4.1/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/5.4.1/QtWebEngine/private/qtwebengineglobal_p.h
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/QtWebEngineDepends
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/qtwebengineglobal.h
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/QtWebEngineVersion
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/Headers/qtwebengineversion.h
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/QtWebEngine
.//5.4/clang_64/lib/QtWebEngine.framework/Versions/5/QtWebEngine_debug
.//5.4/clang_64/lib/QtWebEngine.la
.//5.4/clang_64/lib/QtWebEngine_debug.la
.//5.4/clang_64/lib/QtWebEngineCore.framework
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore.prl
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore_debug
.//5.4/clang_64/lib/QtWebEngineCore.framework/QtWebEngineCore_debug.prl
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Helpers/QtWebEngineProcess.app
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/QtWebEngineCore
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/QtWebEngineCore_debug
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Resources/qtwebengine_locales
.//5.4/clang_64/lib/QtWebEngineCore.framework/Versions/5/Resources/qtwebengine_resources.pak
.//5.4/clang_64/lib/QtWebEngineCore.la
.//5.4/clang_64/lib/QtWebEngineCore_debug.la
.//5.4/clang_64/lib/QtWebEngineWidgets.framework
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets.prl
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets_debug
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/QtWebEngineWidgets_debug.prl
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/5.4.1/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/QtWebEngineWidgetsDepends
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/qtwebenginewidgetsglobal.h
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/QtWebEngineWidgetsVersion
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/Headers/qtwebenginewidgetsversion.h
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets
.//5.4/clang_64/lib/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets_debug
.//5.4/clang_64/lib/QtWebEngineWidgets.la
.//5.4/clang_64/lib/QtWebEngineWidgets_debug.la
.//5.4/clang_64/qml/QtWebEngine
.//5.4/clang_64/qml/QtWebEngine/experimental/libqtwebengineexperimentalplugin.dylib
.//5.4/clang_64/qml/QtWebEngine/experimental/libqtwebengineexperimentalplugin_debug.dylib
.//5.4/clang_64/qml/QtWebEngine/libqtwebengineplugin.dylib
.//5.4/clang_64/qml/QtWebEngine/libqtwebengineplugin_debug.dylib
.//5.4/Src/qtdoc/doc/src/images/qtwebengine_quicknanobrowser.jpg
.//5.4/Src/qtwebengine
.//5.4/Src/qtwebengine/include/QtWebEngine
.//5.4/Src/qtwebengine/include/QtWebEngine/5.4.1/QtWebEngine
.//5.4/Src/qtwebengine/include/QtWebEngine/5.4.1/QtWebEngine/private/qtwebengineglobal_p.h
.//5.4/Src/qtwebengine/include/QtWebEngine/QtWebEngine
.//5.4/Src/qtwebengine/include/QtWebEngine/qtwebengineglobal.h
.//5.4/Src/qtwebengine/include/QtWebEngine/QtWebEngineVersion
.//5.4/Src/qtwebengine/include/QtWebEngine/qtwebengineversion.h
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/5.4.1/QtWebEngineWidgets
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/QtWebEngineWidgets
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/qtwebenginewidgetsglobal.h
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/QtWebEngineWidgetsVersion
.//5.4/Src/qtwebengine/include/QtWebEngineWidgets/qtwebenginewidgetsversion.h
.//5.4/Src/qtwebengine/qtwebengine.pro
.//5.4/Src/qtwebengine/src/core/qtwebengine.gypi
.//5.4/Src/qtwebengine/src/core/qtwebengine_extras.gypi
.//5.4/Src/qtwebengine/src/core/qtwebenginecoreglobal.h
.//5.4/Src/qtwebengine/src/webengine/api/qtwebengineglobal.cpp
.//5.4/Src/qtwebengine/src/webengine/api/qtwebengineglobal.h
.//5.4/Src/qtwebengine/src/webengine/api/qtwebengineglobal_p.h
.//5.4/Src/qtwebengine/src/webengine/doc/qtwebengine.qdocconf
.//5.4/Src/qtwebengine/src/webengine/doc/src/qtwebengine.qdoc
.//5.4/Src/qtwebengine/src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp
.//5.4/Src/qtwebengine/src/webenginewidgets/api/qtwebenginewidgetsglobal.h
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/qtwebenginewidgets.qdocconf
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/snippets/qtwebengine_build_snippet.qdoc
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/snippets/qtwebengine_qwebenginepage_snippet.cpp
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/snippets/qtwebengine_qwebengineview_snippet.cpp
.//5.4/Src/qtwebengine/src/webenginewidgets/doc/src/qtwebenginewidgets.qdoc
.//5.4/Src/qtwebengine/tools/buildscripts/gyp_qtwebengine
.//5.4/Src/qtwebengine/tools/buildscripts/qtwebengine_utils.py
.//Docs/Qt-5.4/qtwebengine
.//Docs/Qt-5.4/qtwebengine/qtwebengine.index
.//Docs/Qt-5.4/qtwebengine/qtwebengine.qhp
.//Docs/Qt-5.4/qtwebengine/qtwebengine.tags
.//Docs/Qt-5.4/qtwebengine.qch
.//Docs/Qt-5.4/qtwebenginewidgets
.//Docs/Qt-5.4/qtwebenginewidgets/qtwebenginewidgets.index
.//Docs/Qt-5.4/qtwebenginewidgets/qtwebenginewidgets.qhp
.//Docs/Qt-5.4/qtwebenginewidgets/qtwebenginewidgets.tags
.//Docs/Qt-5.4/qtwebenginewidgets.qch

android_armv5/android_armv7/下的资源不可用。如果我在 QML 中导入 Webengine,它仍然显示该文件不适用于 Android。我从这里http://download.qt.io/official_releases/qt/5.4/5.4.0/qt-opensource-mac-x64-android-ios-5.4.0.dmg安装了我的 Qt SDK 。那么如何使用 Qt Webview 浏览一些页面呢?我不想使用“JNI”方式调用本机 SDK。

4

1 回答 1

2

Qt WebEngine 仅在桌面平台上受支持。它在 iOS 和 Android 上不受支持。

在 iOS 上,禁止使用 Apple 以外的其他 Web 视图。我不确定为什么 Android 不支持 WebEngine。也许它不适合触摸交互。有人知道官方的理由吗?

于 2015-06-05T08:55:16.950 回答