add calcManager and qt