summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/maps/maps.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webenginewidgets/maps/maps.pro')
-rw-r--r--examples/webenginewidgets/maps/maps.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/webenginewidgets/maps/maps.pro b/examples/webenginewidgets/maps/maps.pro
index 3fee49077..fead8fe0b 100644
--- a/examples/webenginewidgets/maps/maps.pro
+++ b/examples/webenginewidgets/maps/maps.pro
@@ -10,3 +10,8 @@ SOURCES += main.cpp \
target.path = $$[QT_INSTALL_EXAMPLES]/webenginewidgets/maps
INSTALLS += target
+
+!qtConfig(webengine-geolocation) {
+ error('Qt WebEngine compiled without geolocation support, this example will not work.')
+}
+