summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-10-24 09:03:57 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-10-24 11:51:56 (GMT)
commit592c381564e3f12b79a3d5e9fec5aec2b8045742 (patch)
tree486d5d9e6baef39c29fb2b08cb86c850c7514813
parentb97f3e0a984eabf0fa1a991b636ea967f6a9a2c4 (diff)
downloadqtlocation-592c381564e3f12b79a3d5e9fec5aec2b8045742.tar.gz
Windows/MinGW: Build MapBoxGL only when Qt is built with ANGLE
The code links against functions of OpenGL versions > 1.1, which Windows' opengl32.dll does not provide. Task-number: QTBUG-62417 Change-Id: I0fa1ba6ef3fa3ed714e261369df1292018f5568b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
-rw-r--r--src/location/configure.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/configure.json b/src/location/configure.json
index 4de6e86..3337b07 100644
--- a/src/location/configure.json
+++ b/src/location/configure.json
@@ -37,7 +37,7 @@
"condition": [
"features.opengl",
"features.c++14",
- "!config.qnx && (!config.win32 || config.mingw)"
+ "!config.qnx && (!config.win32 || (config.mingw && features.angle))"
],
"output": [ "privateFeature" ]
},