fix linking of static Qt libs

Task-number: QBS-608
Change-Id: I71235675508a5a5d8e651ef6d025e4ef844b5cfc
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>