[Qt6] Clean-up all warnings in qml files
Closed, ResolvedPublic

Description

Check all the activities, but there are a bunch or warnings as we need to use js functions instead of "on***" functions:
qrc:/gcompris/src/core/Bonus.qml:75:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Also, parameters needs to be explicitely declared:
qt.qml.context: qrc:/gcompris/src/core/ActivityBase.qml:192:5 Parameter "dialog" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.

Related Objects

StatusAssignedTask
OpenNone
Resolvedjjazeix
jjazeix created this task.Jun 5 2022, 1:35 PM
jjazeix triaged this task as Low priority.

Most have been taken care of in branch work/qt6_cleaner

jjazeix claimed this task.Mar 11 2024, 8:44 PM
jjazeix moved this task from Backlog to WIP on the GCompris: Improvements board.
jjazeix closed this task as Resolved.Sun, Apr 7, 8:33 PM
jjazeix moved this task from WIP to Done on the GCompris: Improvements board.

the remaining ones will be done 1 by 1 when faced