Qasr begins merely by intending to travel while still inside the inhabited area of one's town.

The Traveler's Prayer: Travel Threshold, Qasr, Residence, and Watan