you have to make a deriverd class of QSFMLCanvas. In that class you render and do what you want , and overloading some functions. To render you have to make widget/frame in your window/dialog and do something like this.
QSFML* qsfml 〓 new QSFML(ui->frame)
Thats all.