Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt3D: Help to convert the legacy example
Qt 6.11 is out! See what's new in the release blog

Qt3D: Help to convert the legacy example

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 431 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nodir.temir
    wrote on last edited by
    #1

    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
            }
        }
    }
    
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved