import and adopt appmenu-qt