Rework qmake build configuration

Signed-off-by: Simon Busch <morphis@gravedo.de>
Rename header guards to match QPA name

Signed-off-by: Simon Busch <morphis@gravedo.de>