port old qreadbook project to qt5