Qt Data Visualization 已知问题

  • 由于在 Qt 6.x 中,OpenGL 已不再是默认的渲染后端(例如,在 macOS 上默认是 Metal,在 Windows 上默认是 Direct3D),因此必须通过环境变量或在应用程序的主函数中显式定义渲染后端。可在主函数开头添加qputenv("QSG_RHI_BACKEND", "opengl"); 来进行定义。
  • 某些平台(如 Android 和 WinRT)无法正确处理多个原生窗口,因此实际上在这些平台上仅可使用Qt Quick 图形。
  • 行和列非线性的曲面并不总能正确渲染。
  • Q3DLight 类(以及 Light3D QML 项)目前无法用于任何用途。
  • 更改大部分影响子视口(subviewports)的 Q3DScene 属性目前没有任何效果。
  • 基于小部件的示例在 iOS 上的布局不正确。
  • 不支持将图重新父级化到另一个QQuickWindow 中的项上。
  • 导入 QtDataVisualization 的 QML 应用程序的 Android 构建还要求在 pro 文件中添加“QT += datavisualization”。这是因为Qt Data Visualization QML 插件依赖于Qt Data Visualization C++ 库,而Qt Creator 不会自动将该库添加到部署包中。

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