Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140387

Robot Arm: qmllint warnings

XMLWordPrintable

    • Windows
    • 982379421 (dev), e5316fe98 (6.10), b363f6b3a (6.10.0)

      Running qmllint on Robot Arm Example results to 60 warnings

      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:377: warning: Property "z" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.z: 100" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:376: warning: Property "y" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.y: 280" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:373: warning: Property "scale" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.scale: scale" [Quick.property-changes-parsed]
                      scale.x:-1: 0.7
                      scale.x: 0.7
                      ^^^^^
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:372: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:346: warning: Property "topPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.topPadding: 15" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:349: warning: Property "buttonRowWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonRowWidth: width * 0.2" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:347: warning: Property "leftPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.leftPadding: 45" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:350: warning: Property "buttonMinWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonMinWidth: 75" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:345: warning: Property "sliderWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.sliderWidth: width * 0.85" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:348: warning: Property "bottomPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.bottomPadding: 0" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:344: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:336: warning: Property "z" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.z: 150" [Quick.property-changes-parsed]
                      scale.x:-1: 0.7
                      scale.x: 0.7
                      ^^^^^
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:332: warning: Property "scale" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.scale: scale" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:335: warning: Property "y" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.y: 250" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:315: warning: Property "anchors" is custom-parsed in PropertyChanges. You should phrase this binding as "slidersColumn.anchors: anchors" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:331: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
                      anchors.rightMargin:-1: 20
                      anchors.rightMargin: 20
                      ^^^^^^^
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:314: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:306: warning: Property "buttonRowWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonRowWidth: width * 0.2" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:305: warning: Property "sliderWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.sliderWidth: width * 0.4" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:296: warning: Property "z" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.z: -200" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:304: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:307: warning: Property "bottomPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.bottomPadding: 20" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:295: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:287: warning: Property "topPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.topPadding: 15" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:290: warning: Property "buttonRowWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonRowWidth: width * 0.2" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:286: warning: Property "leftPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.leftPadding: 45" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:291: warning: Property "buttonMinWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonMinWidth: 75" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:289: warning: Property "sliderWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.sliderWidth: width * 0.4" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:288: warning: Property "bottomPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.bottomPadding: 0" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:285: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:377: warning: Property "z" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.z: 100" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:373: warning: Property "scale" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.scale: scale" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:376: warning: Property "y" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.y: 280" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:346: warning: Property "topPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.topPadding: 15" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:372: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:349: warning: Property "buttonRowWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonRowWidth: width * 0.2" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:347: warning: Property "leftPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.leftPadding: 45" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:345: warning: Property "sliderWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.sliderWidth: width * 0.85" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:348: warning: Property "bottomPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.bottomPadding: 0" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:350: warning: Property "buttonMinWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonMinWidth: 75" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:344: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:336: warning: Property "z" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.z: 150" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:332: warning: Property "scale" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.scale: scale" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:335: warning: Property "y" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.y: 250" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:331: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:285: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:287: warning: Property "topPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.topPadding: 15" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:286: warning: Property "leftPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.leftPadding: 45" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:291: warning: Property "buttonMinWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonMinWidth: 75" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:289: warning: Property "sliderWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.sliderWidth: width * 0.4" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:288: warning: Property "bottomPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.bottomPadding: 0" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:290: warning: Property "buttonRowWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonRowWidth: width * 0.2" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:295: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:296: warning: Property "z" is custom-parsed in PropertyChanges. You should phrase this binding as "roboArm.z: -200" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:307: warning: Property "bottomPadding" is custom-parsed in PropertyChanges. You should phrase this binding as "root.bottomPadding: 20" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:304: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:305: warning: Property "sliderWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.sliderWidth: width * 0.4" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:306: warning: Property "buttonRowWidth" is custom-parsed in PropertyChanges. You should phrase this binding as "root.buttonRowWidth: width * 0.2" [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:314: warning: You should remove any bindings on the "target" property and avoid custom-parsed bindings in PropertyChanges. [Quick.property-changes-parsed]
      C:\Qt\Examples\Qt-6.10.0\demos\robotarm\content\MainScreen.ui.qml:315: warning: Property "anchors" is custom-parsed in PropertyChanges. You should phrase this binding as "slidersColumn.anchors: anchors" [Quick.property-changes-parsed]

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtqmlteam Qt Qml Team User
            eren Eren Bursali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes