diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-04-10 16:10:35 +0300 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-04-10 13:14:03 +0000 |
commit | 3f278a5cee03ffe16547acb496cad2eabf9cfe32 (patch) | |
tree | 3f0fd008db44544ea8f78af710b8ed2f37798db6 /src/plugins | |
parent | 8e61494da8ff9c36d09faf3ced09bbe79a719f2d (diff) | |
download | qtlocation-3f278a5cee03ffe16547acb496cad2eabf9cfe32.tar.gz |
Fix linking error when building Mapbox GL plugin with ICU
Mapbox GL depends on ICU, so it should be after -lqmapboxgl in
the linker command line.
Change-Id: I725d32d1132520ddd0704c7d9e998453a92e10ab
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/geoservices/mapboxgl/mapboxgl.pro | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/geoservices/mapboxgl/mapboxgl.pro b/src/plugins/geoservices/mapboxgl/mapboxgl.pro index 5ae804f8..dcdee7e4 100644 --- a/src/plugins/geoservices/mapboxgl/mapboxgl.pro +++ b/src/plugins/geoservices/mapboxgl/mapboxgl.pro @@ -29,15 +29,15 @@ OTHER_FILES += \ INCLUDEPATH += ../../../3rdparty/mapbox-gl-native/platform/qt/include -qtConfig(icu) { - include(../../../3rdparty/icu_dependency.pri) -} - include(../../../3rdparty/zlib_dependency.pri) load(qt_build_paths) LIBS_PRIVATE += -L$$MODULE_BASE_OUTDIR/lib -lqmapboxgl$$qtPlatformTargetSuffix() +qtConfig(icu) { + include(../../../3rdparty/icu_dependency.pri) +} + PLUGIN_TYPE = geoservices PLUGIN_CLASS_NAME = QGeoServiceProviderFactoryMapboxGL load(qt_plugin) |