From 181511ef5c8a86c09a1bd953bdfd5fa603515148 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 6 Mar 2017 15:24:00 +0100 Subject: Fix build with -no-feature-library Drop unnecessary guards around QFactoryLoader (which is available without QLibrary) and drop an unused include. Change-Id: I0368eb857474fc728f1dad76977758b6d773f1d6 Reviewed-by: Paolo Angelelli Reviewed-by: Alex Blasche --- src/location/maps/qgeoserviceprovider.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/location/maps') diff --git a/src/location/maps/qgeoserviceprovider.cpp b/src/location/maps/qgeoserviceprovider.cpp index cf5fe7e5..7e7b3c90 100644 --- a/src/location/maps/qgeoserviceprovider.cpp +++ b/src/location/maps/qgeoserviceprovider.cpp @@ -62,11 +62,9 @@ QT_BEGIN_NAMESPACE -#ifndef QT_NO_LIBRARY Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader, ("org.qt-project.qt.geoservice.serviceproviderfactory/5.0", QLatin1String("/geoservices"))) -#endif /*! \class QGeoServiceProvider -- cgit v1.2.1