[qt5-build.eclass] Set correct flags and toolchain in qt5_qmake.

Fixes bug #490254.
Merge pull request #27 from xhochy