summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/3rdparty/3rdparty.pro2
-rw-r--r--src/plugins/geoservices/geoservices.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/3rdparty.pro b/src/3rdparty/3rdparty.pro
index 30d4c1be..efdd8e51 100644
--- a/src/3rdparty/3rdparty.pro
+++ b/src/3rdparty/3rdparty.pro
@@ -3,7 +3,7 @@ SUBDIRS += poly2tri
SUBDIRS += clipper
SUBDIRS += clip2tri
-qtConfig(opengl) {
+qtHaveModule(opengl) {
linux|android: {
equals(QT_GCC_MAJOR_VERSION, 4): greaterThan(QT_GCC_MINOR_VERSION, 8) {
SUBDIRS += mapbox-gl-native
diff --git a/src/plugins/geoservices/geoservices.pro b/src/plugins/geoservices/geoservices.pro
index 487183b7..cedd159b 100644
--- a/src/plugins/geoservices/geoservices.pro
+++ b/src/plugins/geoservices/geoservices.pro
@@ -2,7 +2,7 @@ TEMPLATE = subdirs
SUBDIRS = nokia osm mapbox esri
-qtConfig(opengl) {
+qtHaveModule(opengl) {
linux|android: {
equals(QT_GCC_MAJOR_VERSION, 4): greaterThan(QT_GCC_MINOR_VERSION, 8) {
SUBDIRS += mapboxgl