Successful connection between c++ and qml