Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.10.0 Beta1
-
None
Description
Running all_qmllint target on the Dice example produces 16 warnings:
[1/1 7.6/sec] cd /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice && /Users/kkoehne/Qt/6.10.0/macos/bin/qmllint @/Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/build/Qt_6_10_0_for_macOS-Debug/.rcc/qmllint/qtdice.rsp Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/Main.qml:21:63: Member "x" not found on type "QmlSensorReading" [missing-property] readonly property vector3d force: Qt.vector3d(reading.x, reading.y, reading.z) ^ Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/Main.qml:21:74: Member "y" not found on type "QmlSensorReading" [missing-property] readonly property vector3d force: Qt.vector3d(reading.x, reading.y, reading.z) ^ Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/Main.qml:21:85: Member "z" not found on type "QmlSensorReading" [missing-property] readonly property vector3d force: Qt.vector3d(reading.x, reading.y, reading.z) ^ Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:32:30: Unqualified access [unqualified] physicsMaterial: shapeSpawner.physicsMaterial ^^^^^^^^^^^^ Info: Set "pragma ComponentBehavior: Bound" in order to use IDs from outer components in nested components. pragma ComponentBehavior: Bound // Copyright (C) 2023 The Qt Company Ltd. Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:33:24: Unqualified access [unqualified] diceWidth: shapeSpawner.diceWidth ^^^^^^^^^^^^ Info: Set "pragma ComponentBehavior: Bound" in order to use IDs from outer components in nested components. pragma ComponentBehavior: Bound // Copyright (C) 2023 The Qt Company Ltd. Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:26:61: Unqualified access [unqualified] position.x: { position.x = diceWidth * Math.cos(index / (Math.PI / 4)) } ^^^^^ Info: index is implicitly injected into this delegate. Add a required property instead. delegate: PhysicalDie { Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:27:40: Unqualified access [unqualified] position.y: { position.y = index * shapeSpawner.diceWidth * 1.41 } ^^^^^ Info: index is implicitly injected into this delegate. Add a required property instead. delegate: PhysicalDie { Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:27:48: Unqualified access [unqualified] position.y: { position.y = index * shapeSpawner.diceWidth * 1.41 } ^^^^^^^^^^^^ Info: Set "pragma ComponentBehavior: Bound" in order to use IDs from outer components in nested components. pragma ComponentBehavior: Bound // Copyright (C) 2023 The Qt Company Ltd. Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:28:62: Unqualified access [unqualified] position.z: { position.z = diceWidth * Math.sin(index / (Math.PI / 4)) } ^^^^^ Info: index is implicitly injected into this delegate. Add a required property instead. delegate: PhysicalDie { Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:29:30: Unqualified access [unqualified] eulerRotation.x: randomInRange(0, 360) ^^^^^^^^^^^^^ Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:30:30: Unqualified access [unqualified] eulerRotation.y: randomInRange(0, 360) ^^^^^^^^^^^^^ Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:31:30: Unqualified access [unqualified] eulerRotation.z: randomInRange(0, 360) ^^^^^^^^^^^^^ Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/DiceSpawner.qml:35:54: Unqualified access [unqualified] Component.onCompleted: applyCentralForce(shapeSpawner.rollForce) ^^^^^^^^^^^^ Info: Set "pragma ComponentBehavior: Bound" in order to use IDs from outer components in nested components. pragma ComponentBehavior: Bound // Copyright (C) 2023 The Qt Company Ltd. Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/PhysicalTable.qml:7:15: Member "vector3d" not found on type "Qt" [missing-property] scale: Qt.vector3d(1, 1, 1).times(30 / 0.482967) ^^^^^^^^ Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/PhysicalTable.qml:8:23: Member "vector3d" not found on type "Qt" [missing-property] eulerRotation: Qt.vector3d(-90, 0, 0) ^^^^^^^^ Warning: /Users/kkoehne/Qt/Examples/Qt-6.10.0/demos/dice/PhysicalTable.qml:9:18: Member "vector3d" not found on type "Qt" [missing-property] position: Qt.vector3d(0, -50, 0) ^^^^^^^^
Attachments
Issue Links
- is required for
-
QTBUG-137075 Make all Qt Application Examples warning free
-
- Open
-