summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2018-06-18 11:20:03 +0200
committerMichal Klocek <michal.klocek@qt.io>2018-06-18 13:53:01 +0000
commit13215272d29fcd99d79b590cb03bb0e0487f5838 (patch)
tree56ed1ef0e087130c109b00487d1b70fdddfafb4f /examples
parent15c733d64cfa491868a3730b8dc59230157da17c (diff)
Fix webengine geolocation feature
Use feature check in the configuration and in the implementation files. Make feature public, so developers can check if webengine was complied with or without geolocation. Change-Id: If679b5c366074c2f48fad5ba189870571567fe81 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/webenginewidgets.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webenginewidgets/webenginewidgets.pro b/examples/webenginewidgets/webenginewidgets.pro
index 6b0e6df4..feabadec 100644
--- a/examples/webenginewidgets/webenginewidgets.pro
+++ b/examples/webenginewidgets/webenginewidgets.pro
@@ -13,7 +13,7 @@ SUBDIRS += \
stylesheetbrowser \
videoplayer
-qtHaveModule(positioning): SUBDIRS += maps
+qtConfig(webengine-geolocation): SUBDIRS += maps
qtConfig(webengine-spellchecker):!qtConfig(webengine-native-spellchecker):!cross_compile {
SUBDIRS += spellchecker