Commit Graph

6 Commits

Author SHA1 Message Date
Fabian Kosmale 0b7bdaf1e9 robotarm: fix warnings in RoboticArm.ui.qml
Task-number: QTBUG-138176
Pick-to: 6.10
Change-Id: Ieae69c165f74ff5ea74625c166291e0aedc3709a
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
2025-07-21 10:22:43 +02:00
Fabian Kosmale 7304b6b8cb RobotArm: fix code in NodeIndicator
NodeIndicator was trying to access properties from the Material attached
object. However, that one was shadowed by the Material type from
Quick3D. Avoid this by importing Controls into a namespace for
disambiguation purposes.

Also avoid a warning about mismatched types by explicitly casting
"parent" to a View3D before assigning it to a property of that type.

Pick-to: 6.10
Task-number: QTBUG-138176
Task-number: QTBUG-138177
Change-Id: I336455a3fdc9da610fc0e703328aec26bf3741f9
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2025-07-21 10:22:40 +02:00
Fabian Kosmale 346b5838c9 robotarm: Fix most qmllint warnings in MainScreen
Pick-to: 6.10
Task-number: QTBUG-138176
Change-Id: I9a2b3f76c86bea854d6355a34d8c6ce88305aec5
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
2025-07-21 10:22:37 +02:00
Fabian Kosmale 727f569ec1 robotarm: Help qmllint by specifying dependencies
We can avoid confusion in qmllint by explicitly specifying that the
content module depends on RobotArm (using the target based dependency
API).
At runtime this happens to work because the application rearranges the
modules in the import path, but that's a runtime setting.

Pick-to: 6.10
Task-number: QTBUG-138176
Change-Id: I91e1a4142a691d70784380ef0de42fc198eaa3f7
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
2025-07-21 10:22:33 +02:00
Amir Masoud Abdol 8b6976b931 Resolve a duplicate target name issue
Both robotarm, and todolist examples were creating `content` target
which was breaking the build if both examples were activated.

Pick-to: 6.6
Change-Id: I0922765526f2fca861c16b1ced4f1c040c104adc
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
2023-06-13 13:03:40 +02:00
Kimmo Leppälä 02efcba73d Move robotarm example from quick3d to qtdoc
Pick-to: 6.5
Change-Id: Iac113bc7ed773f291ef09ebe144e1de1e0e58136
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-05-09 18:37:33 +02:00