如何报告错误

如果您认为您发现了 Qt 中的错误,我们希望听到您的意见,以便我们修复它。

在报告错误之前,请查看Qt Bug Tracker页面,以了解该问题是否已被发现。

如果您还没有Qt Bug Tracker 帐户,首先应该注册一个。注册完成后,您就可以提交并跟踪您的错误报告,这些报告从您提交的那一刻起就会被公开。

请务必在错误报告中包含以下信息:

  1. 编译器的名称和版本号
  2. 操作系统的名称和版本号
  3. 您使用的 Qt 版本,以及编译时使用的配置选项
  4. 关于如何重现问题的可靠而清晰的描述

如果可能,请提供使用 Qt Test模块编写的测试,因为这将改进重现问题的程序,并使开发人员能更有效地解决问题。

否则,如果您报告的问题只能在运行时看到,请尝试创建一个小的测试程序,在运行时显示问题。通常,只需对 Qt 示例目录中的一个示例程序稍作修改,就能创建这样一个程序。

如果您已经实现了错误修复,并希望直接贡献您的修复,那么您可以通过公共 Qt 代码库(Public Qt Repository)这样做。有关详细信息,请查看 qt 项目维基页面 "为 Qt 做出贡献"。

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