Qt WebEngine Quick C++ Classes

Qt Quick 公开 C++ 功能。更多

命名空间

QtWebEngineQuick

Qt WebEngine (Qt Quick) 模块的辅助函数

QQuickWebEngineProfile

多个页面共享的网络引擎配置文件

详细说明

Qt WebEngine Quick 模块为Qt Quick 提供 C++ 功能。

要链接该模块,请在 qmake 项目文件中添加以下内容:

QT += webenginequick

使用 CMake 构建时,使用find_package() 命令在 Qt6 软件包中找到所需的模块组件,然后使用target_link_libraries() 链接该模块:

find_package(Qt6 REQUIRED COMPONENTS WebEngineQuick)
target_link_libraries(target PRIVATE Qt6::WebEngineQuick)

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.