PTAM5 port to qtcreator