本页内容

Qt 参考页面

类列表

All C++ Classes

如果您知道所需类的名称,请在此处查找。

All Classes by Module

Qt 中所有 C++ API 组件的列表。

All Modules

Qt 6 中所有模块的列表。

All Namespaces

一个 Qt 命名空间包含枚举类型、函数,有时还包含类。

All QML Modules

Qt 中所有 Qml 模块的列表。

All QML Types

此 Qt 版本中的 Qml 类型列表。

Annotated Class List

如果您不知道所需类的名称,但知道该类应实现的功能,不妨在此处查找。

Groups Of Related Classes

如果您知道需要什么类型的类(GUI、绘图、I/O 等),请查看此处。

Inheritance Hierarchy

Qt API 中所有类的 C++ 类继承层次结构。

Obsolete Classes

已被标记为过时且不应在新代码中使用的 C++ 类和成员。

Obsolete QML Types

已弃用的 QML 类型列表,不应在新代码中使用。

函数列表

<QForeach>

用于执行 for 循环的辅助宏

<QFunctionPointer>

用于函数指针的便捷类型

<QOverload>

用于解析重载的函数

<QTypeInfo>

用于指定自定义类型信息的宏

<QWaylandQuickExtension>

用于创建与 QWaylandCompositorExtension 和 QWaylandObject 子类对应的Qt Quick 类型的文件包含宏

<QtAlgorithms>

包含基于模板的通用算法

<QtAssert>

用于开发和调试期间条件检查的宏

<QtClassHelperMacros>

类辅助宏

<QtCompilerDetection>

该文件包含各种特定于编译器的宏

<QtDarwinHelpers>

针对基于 Darwin 的操作系统的辅助宏

<QtEndian>

用于在数字的小端序和大端序表示之间进行转换的函数

<QtEnvironmentVariables>

用于处理环境变量的辅助函数

<QtGlobal>

该文件包含其他各类头文件

<QtMath>

该文件提供了各种数学函数

<QtMinMax>

用于将值限制在下限和/或上限内的函数

<QtPreprocessorSupport>

预处理器专用的宏

<QtProcessorDetection>

该文件包含各种架构特有的宏

<QtResource>

用于管理 Qt 资源系统的宏

<QtSwap>

交换两个变量的值

<QtSystemDetection>

该文件包含各种平台特定宏

<QtTranslation>

标记待翻译的字符串

<QtVersion>

有关应用程序正在运行的 Qt 版本以及其编译所基于的版本的信息

<QtVersionChecks>

用于执行 Qt 版本检查的宏

<qtwebenginecoreglobal.h>

Qt WebEngine 核心模块的辅助函数

All Functions and Macros

按字母顺序列出了所有已文档化的 Qt 函数,并附有指向各函数声明位置的链接。

qfloat16

提供 16 位浮点数支持

QML 参考手册

CMake 参考

仅限商业使用的模块

Qt 公司提供了一系列增值模块。有关详细信息,请参阅《Qt 功能》和《Qt 定价》。

平台参考

Qt for Android

提供有关 Qt 中 Android 支持的信息。

Qt for Embedded Linux

提供有关 Qt 对嵌入式 Linux 支持的信息。

Qt for HarmonyOS

提供有关 Qt 对 HarmonyOS 支持的信息。

Qt for INTEGRITY

INTEGRITY 的平台支持。

Qt for Linux

Qt 原生支持 Linux。

Qt for QNX

此处介绍了对 QNX 的平台支持。

Qt for VxWorks

对 VxWorks 的平台支持。

Qt for WebAssembly

在浏览器中的安全沙箱中运行 Qt 应用程序。

Qt for Windows

Windows 的平台支持。

Qt for iOS

深入解析 Qt 的 iOS 移植版本及其使用方法。

Qt for macOS

macOS 平台支持。

Qt for webOS

对 webOS OSE 的平台支持。

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