The verb 'queueing' is used in British English ( UK, Ireland, Aus, NZ, SA). The North American ( US, Can) equivalent of this verb is 'standing in line' (not 'lining'). For example, a BrE speaker might say "You have to be prepared to queue for a long time to get an iphone', while an AmE speaker might say "You have to be prepared to stand in line for a long time to get an iphone".
The only time we use the verb 'line' with this meaning is the phrase 'line up', meaning to stand in a line. The meaning is not quite the same as 'queue', however. For example, a teacher might tell children to line up in front of the door. This is not a queue, but merely a way of 'organising' the children - the same way as you might line up coffee cups on a counter.