fix in cmake for qt5
Merge branch 'developer' of https://github.com/nomacs/nomacs into developer