本页内容

Qt 5 Core Compatibility C++ Classes

包含从 Qt 6 中移除的 Qt 5 Qt Core API。更多内容...

命名空间

QBinaryJson

包含用于将 QJsonDocument 与 JSON 二进制格式相互转换的函数

类

QLinkedList

提供链表功能的模板类

QLinkedList::const_iterator

QLinkedList::const_iterator 类为 QLinkedList 提供了一个 STL 风格的 const 迭代器

QLinkedList::iterator

QLinkedList::iterator 类为 QLinkedList 提供了一个 STL 风格的非 const 迭代器

QLinkedListIterator

QLinkedList 的 Java 风格 const 迭代器

QMutableLinkedListIterator

QLinkedList 的 Java 风格非 const 迭代器

QRegExp

使用正则表达式进行模式匹配

QStringRef

QString 子字符串的轻量级封装

QTextCodec

文本编码之间的转换

QTextDecoder

基于状态的解码器

QTextEncoder

基于状态的编码器

QXmlAttributes

XML 属性

QXmlContentHandler

用于报告 XML 数据逻辑内容的接口

QXmlDTDHandler

用于报告XML数据DTD内容的接口

QXmlDeclHandler

用于报告 XML 数据声明内容的接口

QXmlDefaultHandler

所有 XML 处理程序类的默认实现

QXmlEntityResolver

用于解析XML数据中包含的外部实体的接口

QXmlErrorHandler

用于报告XML数据中错误的接口

QXmlInputSource

QXmlReader 子类的输入数据

QXmlLexicalHandler

用于报告 XML 数据词法内容的接口

QXmlLocator

包含文件内解析位置信息的 XML 处理类

QXmlNamespaceSupport

用于希望包含命名空间支持的XML读取器的辅助类

QXmlParseException

用于通过 QXmlErrorHandler 接口报告错误

QXmlReader

用于 XML 读取器(即解析器)的接口

QXmlSimpleReader

一个简单的XML解析器的实现

详细说明

在 Qt 6 中不再受支持的 Qt 5 Qt Core API。

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