use qVersion() for geting Qt runtime version.