Storms have battered south-east Queensland while a heatwave persists across the state.