A tropical cyclone has formed off the north Queensland coast, bringing with it the danger of damaging winds and heavy rain.