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. plugin.qmltype problem? 3DBars example scene does not have member

plugin.qmltype problem? 3DBars example scene does not have member

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 331 Views
  • 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.
  • gfxxG Offline
    gfxxG Offline
    gfxx
    wrote on last edited by gfxx
    #1

    as title post, in 3dBars example qt creator show these error

    Bars3D {
                id: barGraph
                x: 0
                y: 0
                width: 1135
                height: 780
                //floorLevel: qsTr("")
                horizontalAspectRatio: 1
                selectionMode: AbstractGraph3D.SelectionItem | AbstractGraph3D.SelectionRow | AbstractGraph3D.SelectionColumn | AbstractGraph3D.SelectionSlice | AbstractGraph3D.SelectionMultiSeries
                anchors.right: parent.right
                shadowQuality: AbstractGraph3D.ShadowQualityMedium
                theme: Theme3D {
                    windowColor: "#c3eff6"
                    labelBackgroundColor: "#c3eff6"
                    backgroundColor: "#c3eff6"
                    type: Theme3D.ThemePrimaryColors
                    labelBorderEnabled: true
                    font.pointSize: 25
                    labelBackgroundEnabled: true
                    colorStyle: Theme3D.ColorStyleRangeGradient
                    singleHighlightGradient: customGradient
    
                    ColorGradient {
                        id: customGradient
                        ColorGradientStop { position: 1.0; color: "#FFFF00" }
                        ColorGradientStop { position: 0.0; color: "#808000" }
                    }
                }
                barThickness: 1.2
                barSpacing: Qt.size(0.6, 0.6)
                barSpacingRelative: false
                scene.activeCamera.cameraPreset: Camera3D.CameraPresetIsometricLeftHigh      // scene does not have members (M17)
    

    not undestand why, because the property is for datavisualization 1.2 ..... and these is import in file ....
    someone can suggest me the right road to find the problem?

    regards

    bkt

    1 Reply Last reply
    0
    • gfxxG Offline
      gfxxG Offline
      gfxx
      wrote on last edited by gfxx
      #2

      I update the code with slider for test some property:

                  scene.activeCamera.yRotation: vertSlid.value
                  scene.activeCamera.xRotation: orizzSlid.value
                  scene.activeCamera.zoomLevel: zoomSlid.value
      

      It work perfect but still exist the error M17 ... why these??

      It is only plugin.qmltype problem?

      bkt

      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