summaryrefslogtreecommitdiff
path: root/platform/qt/platform.gyp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-05-13 13:15:45 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-05-13 13:28:49 +0300
commitd36111abedf0d13d6078e6c75d55668bb8786141 (patch)
treed5ff63171ead36e675de058fe2416b5af3f253c4 /platform/qt/platform.gyp
parent3d4e0d66fea188c61f33fbf234eeaebc50bc9e40 (diff)
downloadqtlocation-mapboxgl-d36111abedf0d13d6078e6c75d55668bb8786141.tar.gz
[Qt] Initialize GL extensions on MapWindow
QMapboxGL relies on its embedding widget to call for the GL extensions initialization function. Fixes #5024.
Diffstat (limited to 'platform/qt/platform.gyp')
-rw-r--r--platform/qt/platform.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/qt/platform.gyp b/platform/qt/platform.gyp
index 8b6cdd5918..04b5c20ab3 100644
--- a/platform/qt/platform.gyp
+++ b/platform/qt/platform.gyp
@@ -129,9 +129,13 @@
['<(qt_version_major) == 4', {
'variables': {
'cflags': [
+ '<@(qt_opengl_cflags)',
# Qt4 generates code with unused variables.
'-Wno-unused-variable',
],
+ 'ldflags': [
+ '<@(qt_opengl_ldflags)',
+ ],
},
}],
['<(qt_version_major) == 5', {