Qt3D の変更点

Qt 6 は、フレームワークをより効率的で使いやすくするための意識的な努力の結果です。

私たちは各リリースにおいて、すべてのパブリックAPIのバイナリとソースの互換性を維持しようと努めています。しかし、Qt をより良いフレームワークにするために避けられない変更もあります。

このトピックでは、Qt3D におけるそれらの変更点を要約し、それらを扱うためのガイダンスを提供します。

新しいレンダリングバックエンド

5.14 と 5.15 の間に、レンダリングバックエンドは徐々にプラグインに移行されました。

Qt 6 のリリースでこの作業が完了し、新しい RHI ベースのレンダリングバックエンドが導入され、関連するプラットフォームで Vulkan、Metal、DirectX を使用できるようになりました。

RHI バックエンドはデフォルトですが、here で説明されているように、環境変数を設定することで制御できます。

コードの変更

いくつかのクラスでモジュールが変更されました。特に、QBuffer 、QAttribute、QGeometryクラス(関連するヘルパークラスも含む)は、RenderモジュールからCoreモジュールに移動しました。

新しいAPI

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