working makefile daemon and qt tested working