summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-02-01 12:13:01 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-01 14:44:01 -0800
commit8108e1b59cdc97d6ad191acf9e084b8292069a11 (patch)
tree6bcd609ea1f6b5fdde6c2d0546e0a1e86debb4e9
parenteec42f36aed7e446c03807ec6acc477d654548d7 (diff)
downloadqtlocation-mapboxgl-8108e1b59cdc97d6ad191acf9e084b8292069a11.tar.gz
[Qt] Use ICU whenever available
-rw-r--r--mapbox-gl-native.pro9
1 files changed, 8 insertions, 1 deletions
diff --git a/mapbox-gl-native.pro b/mapbox-gl-native.pro
index 0401bed72b..eb91144688 100644
--- a/mapbox-gl-native.pro
+++ b/mapbox-gl-native.pro
@@ -460,7 +460,6 @@ SOURCES += \
platform/default/mbgl/util/default_thread_pool.cpp \
platform/default/online_file_source.cpp \
platform/qt/src/async_task.cpp \
- platform/qt/src/bidi.cpp \
platform/qt/src/http_file_source.cpp \
platform/qt/src/http_request.cpp \
platform/qt/src/image.cpp \
@@ -578,3 +577,11 @@ qtConfig(system-zlib) {
# QTBUG-59035
TR_EXCLUDE += $$PWD/*
+
+qtConfig(icu) {
+ SOURCES += \
+ platform/default/bidi.cpp
+} else {
+ SOURCES += \
+ platform/qt/src/bidi.cpp
+}