Parts of Queensland have been scorched in a summer heatwave.