Qt Data Visualization 已知问题

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

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