Qt3D: Help to convert the legacy example



  • Please help to convert the legacy Qt3D example to Qt 5.6, which worked with Qt 5.4.2:

    import QtQuick 2.0
    import Qt3D 2.0
    import Qt3D.Shapes 2.0
    
    Viewport {
        anchors.fill: parent
    
        Sphere {
            position: Qt.vector3d(0, 0, 0)
            cullFaces: Item3D.CullDisabled
            scale: 20
    
            effect: Effect {
                texture: imageFile
                decal: true
            }
        }
    }
    
    

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.