From 01dca9ef9887109be8dfc550f8fa881e208535bf Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Thu, 21 Mar 2019 10:16:07 +0100 Subject: 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 --- examples/positioning/positioning.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/positioning/positioning.pro b/examples/positioning/positioning.pro index bbdc1a42..50c328b3 100644 --- a/examples/positioning/positioning.pro +++ b/examples/positioning/positioning.pro @@ -2,6 +2,8 @@ TEMPLATE = subdirs qtHaveModule(widgets): SUBDIRS += logfilepositionsource qtHaveModule(quick) { - SUBDIRS += geoflickr satelliteinfo + SUBDIRS += satelliteinfo + + qtHaveModule(xmlpatterns): SUBDIRS += geoflickr qtHaveModule(network): SUBDIRS += weatherinfo } -- cgit v1.2.1