summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-04-27 13:12:23 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-04-27 17:36:35 +0300
commit72bcad210ddc9ad8e2ca8e7e53e134b5d9c06cdf (patch)
tree5cc14f5ea4aa87e56c1a793f2285df2b1def325e /scripts
parent205ecff6d7e3b4b89f98c303e5faa807037dc587 (diff)
downloadqtlocation-mapboxgl-72bcad210ddc9ad8e2ca8e7e53e134b5d9c06cdf.tar.gz
[Qt] Added QQuickMapboxGL{,Renderer}
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/main.mk b/scripts/main.mk
index 466ffff219..aa1ce2b0c4 100644
--- a/scripts/main.mk
+++ b/scripts/main.mk
@@ -89,6 +89,9 @@ $(PLATFORM_CONFIG_OUTPUT): .mason configure $(PLATFORM_CONFIG_INPUT)
GYP_FLAGS += -I$(PLATFORM_CONFIG_OUTPUT)
GYP_FLAGS += -Dcoverage=$(ENABLE_COVERAGE)
GYP_FLAGS += -Dcxx_host=$(CXX_HOST)
+ifeq ($(PLATFORM),qt)
+ GYP_FLAGS += -Dqt_version=$(shell qmake -query QT_VERSION | cut -d. -f1)
+endif
GYP_FLAGS += -Goutput_dir=.
GYP_FLAGS += --depth=.
GYP_FLAGS += --generator-output=$(PLATFORM_OUTPUT)