[Qt] style-police, add missing license headers

- add missing license headers in Mac files
- small code formating cleanups