More adaptations to Qt5 (predominantly cmake)

... but also qmake (naming of lib and executable)
Fix in test
Fix header of mechanismarrowdialog

Signed-off-by: Hendrik Vennekate (Home/bigLinux) <HVennekate@gmx.de>