Qt Quick 软件适配
软件适配是 Qt Quick2 的另一种渲染器,它使用光栅绘制引擎来渲染场景图的内容,而不是使用硬件加速的 3D 图形 API。因此,某些功能和优化功能不可用。大多数Qt Quick 2 应用程序无需任何修改即可运行,但任何使用不支持功能的尝试都会被忽略。通过使用软件适配,可以在不支持硬件加速 3D 图形 API的硬件和平台上运行Qt Quick 2 应用程序。
软件适配以前称为Qt Quick 2D 渲染器。不过,与 2D 渲染器不同,这个新的集成版本支持部分更新。这意味着现在可以避免全面更新窗口或屏幕内容,只刷新已更改的区域。部分更新可以大大提高许多应用程序的性能。
着色器效果
ShaderEffect QtQuick 2 中的组件无法通过软件适配器渲染。
粒子效果
软件适配无法呈现粒子效果。请尽可能将粒子从场景中完全移除。否则,即使它们不可见,仍需要进行一些处理。
渲染文本
软件适配的文本渲染基于软件光栅化,与使用硬件加速的 3D 图形 API 相比,对缩放等变换的响应较差。质量类似于选择Text.NativeRendering ,Text 项。
© 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.