Qt Core Private C++ Classes

提供私有核心功能。更多

本模块正在开发中,可能会有更改。

命名空间

QtAndroidPrivate

辅助 Android 开发的杂项功能

QAndroidActivityResultReceiver

用于从主 Android 活动中的 onActivityResult() 回调的接口

QAndroidBinder

封装 Android Binder 类最重要的方法

QAndroidIntent

封装 Android Intent 类最重要的方法

QAndroidParcel

封装 Android 包裹类的最重要方法

QAndroidService

封装 Android 服务类中最重要的方法

QAndroidServiceConnection

封装 Android ServiceConnection 类最重要的方法

详细说明

使用 CMake 构建时,请使用以下命令来使用私有的Qt Core API:

find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::CorePrivate)

© 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.