[qt5-build.eclass] Set correct *FLAGS and toolchain on qmake call

Fixes bug #490254