Import QtQuick 2.15
Currently all the kcm connections are broken as they were upgraded to qt 5.15 style but Qt.Quick 2.15 is not imported.
import QtQuick 2.15
is required to use the code below
Connections {
target: foo
function onSignal() {
...
}
}