A magnitude-5.6 quake struck inland from the Sunshine Coast on Saturday morning, with tremors felt as far north as Rockhampton and as far south as Glen Innes in New South Wales.