Add missing call to initResources needed for static linking

Task-number: QTBUG-35674

Change-Id: If0b995fc8a28adf949189138106a2a1e7bd16147
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>