A heatwave sweeping across Queensland is expected to peak with temperatures exceeding the mid-40s and a threat of more severe storms.