Reduce QtXmlPattern dependency


QtLocation and QtPositioning don't depend on it and QtXmlPatterns
is about to be deprecated in Qt 5.13. The only existing dependency
is the geoflickr example. The most likely resolution is to remove
the example once QtXmlPatterns is removed for good.

This change makes QtXmlPatterns an optional build dependency.

Change-Id: Ibcd9e48604cff4d5e52a63164b30616b0eb100f2
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit01dca9ef9887109be8dfc550f8fa881e208535bf
parent5ea190ac941ed9889de049df221b56db065529d0
authorAlex Blasche <alexander.blasche@qt.io>
committerAlex Blasche <alexander.blasche@qt.io>
commit timeTue, 2 Apr 2019 08:06:49 +0000