summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-04-26 16:59:21 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-04-27 07:11:29 +0000
commitd5b31c5b61e43546d5e8bc3637acf3f7cc4f14d6 (patch)
treeee7304f7f3da06b3276326629d3968b473b064f2 /src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
parente328d63a0291069dc0948e7c08e1db7aed269f9e (diff)
downloadqtlocation-d5b31c5b61e43546d5e8bc3637acf3f7cc4f14d6.tar.gz
Remove the code to manually initialize resources in static builds
After commit be9a56e5e3ced5d0d668fa24e4c65ae928f2e25a in qtbase, this is not needed anymore. Instead the resource system injects the plugin entry point with a reference to all resources. Change-Id: I03294a3ee43097ce535ef7c2805ee33a99e7dd25 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp')
-rw-r--r--src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp b/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
index dd25c99e..afa723a5 100644
--- a/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
+++ b/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
@@ -40,16 +40,10 @@
#include <QtGui/QOpenGLContext>
-static void initResources()
-{
- Q_INIT_RESOURCE(mapboxgl);
-}
-
QT_BEGIN_NAMESPACE
QGeoServiceProviderFactoryMapboxGL::QGeoServiceProviderFactoryMapboxGL()
{
- initResources();
}
QGeoCodingManagerEngine *QGeoServiceProviderFactoryMapboxGL::createGeocodingManagerEngine(