qt 5.6 怎么编译 qtWebView 或者 qtWebEngine
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了qt 5.6 怎么编译 qtWebView 或者 qtWebEngine相关的知识,希望对你有一定的参考价值。
参考技术A 用Qt5.5.1吧,同时有QtWebkit和QtWebEngine,官方预编译包还能支持XP系统Qt5.6后没有QtWebkit了,官方预编译包也不支持XP系统,需要支持XP,自己编译。
Qt5.4 不支持 QtWebEngine 吗?
【中文标题】Qt5.4 不支持 QtWebEngine 吗?【英文标题】:Does Qt5.4 not support QtWebEngine? 【发布时间】:2015-05-13 09:01:41 【问题描述】:从this读取,发现从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。我从这里安装了我的 Qt SDK http://download.qt.io/official_releases/qt/5.4/5.4.0/qt-opensource-mac-x64-android-ios-5.4.0.dmg。 那么如何使用 Qt Webview 浏览一些页面呢?我不想使用“JNI”方式调用原生 SDK。
【问题讨论】:
【参考方案1】:Qt WebEngine 仅在桌面平台上受支持。它在 iOS 和 Android 上不受支持。
在 iOS 上,禁止使用 Apple 以外的其他 Web 视图。我不确定为什么 Android 不支持 WebEngine。也许它不适合触摸交互。有人知道官方的原因吗?
【讨论】:
这是一个关于它的线程:lists.qt-project.org/pipermail/development/2013-September/…以上是关于qt 5.6 怎么编译 qtWebView 或者 qtWebEngine的主要内容,如果未能解决你的问题,请参考以下文章
Qt 5.6 5.8 vs2015 编译静态库版本(有全部的截图)good
QWT 6.1.0 在 Qt 5.6 (msvc2013) 成功安装编译使用
QTWebView 真的能通过 Apple App Store Checking 吗?