Yes, I should compare the short form of both numbers.

Unfortunately, QContactPhoneNumber::match() just yields a filter containing a flag telling the backend to do a "phone number" match - which we interpret to mean 'compare short forms for equality".  It has no utility in client code.