To recap QUASM is Question Word, Auxiliary Verb, Subject and Main verb.
In the question 'where are you from?' from is in the position of the main verb. But from is not a verb. It's a preposition.
So does this question not follow the QUASM principle?