把 C++ 功能暴露給 Qt Quick。 更多...
| QtWebEngineQuick | 用於 Qt WebEngine (Qt Quick) 模塊的幫手函數 |
| QQuickWebEngineProfile | 由多個頁麵共享的 Web 引擎 Profile (配置文件) |
The Qt WebEngine Quick module exposes C++ functionality to Qt Quick.
要鏈接到模塊,添加以下到 qmake 工程文件:
QT += webenginequick
For build with CMake use the
find_package()
command to locate the needed module components in the Qt6 package and
target_link_libraries()
to link against the module:
find_package(Qt6 REQUIRED COMPONENTS WebEngineQuick) target_link_libraries(target PRIVATE Qt::WebEngineQuick)