Fix debuginfo packages.

...o.

This uses the %qmake macro which sets up the appropriate cflags etcetera.
Without this, the compiler didn't pass -g, and thus we never got debuginfo
packages.