Thank you d_stranz and everyone else involved ,
for future reference, I got an excellent working example here: https://forum.qt.io/post/418663