In questa pagina

Modifiche a Qt3D

Qt 6 è il risultato di uno sforzo mirato a rendere il framework più efficiente e facile da usare.

Cerchiamo di mantenere la compatibilità binaria e del codice sorgente per tutte le API pubbliche in ogni versione. Tuttavia, alcune modifiche erano inevitabili nell'ottica di rendere Qt un framework migliore.

In questa sezione riassumiamo tali modifiche apportate a Qt3D e forniamo indicazioni su come gestirle.

Nuovo backend di rendering

Nel corso delle versioni 5.14 e 5.15, il backend di rendering è stato gradualmente trasferito in un plugin.

La versione Qt 6 completa questo lavoro e introduce un nuovo backend di rendering basato su RHI che consentirà l’uso di Vulkan, Metal o DirectX sulle piattaforme pertinenti.

Il backend RHI è quello predefinito, ma è possibile modificarlo impostando le variabili d’ambiente come spiegato all’indirizzo here.

Modifiche al codice

Alcune classi sono state spostate in moduli diversi. In particolare, le classi QBuffer, QAttribute e QGeometry (insieme alle classi di supporto associate) sono state spostate dal modulo Render al modulo Core.

La nuova API

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