summaryrefslogtreecommitdiffstats
path: root/src/core/core_chromium.pri
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 /src/core/core_chromium.pri
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 'src/core/core_chromium.pri')
-rw-r--r--src/core/core_chromium.pri5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/core_chromium.pri b/src/core/core_chromium.pri
index 12cccc045..f2b529951 100644
--- a/src/core/core_chromium.pri
+++ b/src/core/core_chromium.pri
@@ -1,5 +1,5 @@
include($$QTWEBENGINE_OUT_ROOT/src/core/qtwebenginecore-config.pri)
-QT_FOR_CONFIG += webenginecore-private
+QT_FOR_CONFIG += webenginecore webenginecore-private
qtConfig(debug_and_release): CONFIG += debug_and_release
@@ -260,8 +260,7 @@ contains(QT_CONFIG, opengl) {
stream_video_node.h
}
-qtHaveModule(positioning) {
+qtConfig(webengine-geolocation) {
SOURCES += location_provider_qt.cpp
HEADERS += location_provider_qt.h
- DEFINES += QT_USE_POSITIONING=1
}