summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-05-30 11:48:11 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-05-30 22:29:07 +0000
commit42d864c86d8c85db7b2d42f8505d962a642e4c77 (patch)
tree9249b0cad403a5dd8bee4a0eb1b61416fa72731d
parent7b2798827326fb251a6ebf6bb3604dcf30b21c7d (diff)
Add qtlocation dependency to sync.profile
Without qtpositioning from qtlocation source module, we have no support for geolocation. Also correct a false dependency on xmlpatterns, and adds a feature report on geolocation at configure time. Change-Id: I7d80b8288631401bf4c8aaa2541327a52910c3e6 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
-rw-r--r--sync.profile2
-rw-r--r--tools/qmake/mkspecs/features/configure.prf5
2 files changed, 6 insertions, 1 deletions
diff --git a/sync.profile b/sync.profile
index 7d6daec3..e4a88e0c 100644
--- a/sync.profile
+++ b/sync.profile
@@ -20,7 +20,7 @@
%dependencies = (
"qtbase" => "",
"qtdeclarative" => "",
- "qtxmlpatterns" => "",
+ "qtlocation" => "",
"qttools" => "",
# FIXME: take examples out into their own module to avoid a potential circular dependency later ?
"qtquickcontrols" => "",
diff --git a/tools/qmake/mkspecs/features/configure.prf b/tools/qmake/mkspecs/features/configure.prf
index 9d7d8553..8427b58e 100644
--- a/tools/qmake/mkspecs/features/configure.prf
+++ b/tools/qmake/mkspecs/features/configure.prf
@@ -107,5 +107,10 @@ defineTest(finalizeConfigure) {
} else {
log("Proprietary codecs (H264, MP3).... Not enabled (Default, enable with WEBENGINE_CONFIG+=use_proprietary_codecs)$${EOL}")
}
+ qtHaveModule(positioning): {
+ log("Geolocation....................... Enabled$${EOL}")
+ } else {
+ log("Geolocation....................... Not enabled (Requires Qt Positioning module)$${EOL}")
+ }
}