diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-02-12 16:12:56 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-02-25 16:51:36 +0000 |
commit | d5c4de432d4ddd73ee4ed8e79dbaf70f99565123 (patch) | |
tree | 6f5ddebbcaba5087677e0b059c9e6e11ae02bbee | |
parent | 5cb6d1bac19bf779afbbd22bbe723e43aa86c1b7 (diff) | |
download | qtlocation-d5c4de432d4ddd73ee4ed8e79dbaf70f99565123.tar.gz |
consistently put {qt,qml}_{module,plugin} at the end of project files
this fixes static builds by ensuring that all dependencies are exported.
Task-number: QTBUG-51071
Change-Id: Ia0fcc7b40cbd80bde8edddcf8253b3136ed851ff
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-rw-r--r-- | src/plugins/geoservices/mapbox/mapbox.pro | 8 | ||||
-rw-r--r-- | src/plugins/geoservices/nokia/nokia.pro | 8 | ||||
-rw-r--r-- | src/plugins/geoservices/osm/osm.pro | 8 | ||||
-rw-r--r-- | src/plugins/position/android/src/src.pro | 10 | ||||
-rw-r--r-- | src/plugins/position/corelocation/corelocation.pro | 9 | ||||
-rw-r--r-- | src/plugins/position/geoclue/geoclue.pro | 9 | ||||
-rw-r--r-- | src/plugins/position/gypsy/gypsy.pro | 9 | ||||
-rw-r--r-- | src/plugins/position/positionpoll/positionpoll.pro | 9 | ||||
-rw-r--r-- | src/plugins/position/serialnmea/serialnmea.pro | 9 | ||||
-rw-r--r-- | src/plugins/position/simulator/simulator.pro | 7 | ||||
-rw-r--r-- | src/plugins/position/winrt/winrt.pro | 9 |
11 files changed, 51 insertions, 44 deletions
diff --git a/src/plugins/geoservices/mapbox/mapbox.pro b/src/plugins/geoservices/mapbox/mapbox.pro index 7fdfa508..d4797e37 100644 --- a/src/plugins/geoservices/mapbox/mapbox.pro +++ b/src/plugins/geoservices/mapbox/mapbox.pro @@ -1,9 +1,6 @@ TARGET = qtgeoservices_mapbox -QT += location-private positioning-private network -PLUGIN_TYPE = geoservices -PLUGIN_CLASS_NAME = QGeoServiceProviderFactoryMapbox -load(qt_plugin) +QT += location-private positioning-private network HEADERS += \ qgeoserviceproviderpluginmapbox.h \ @@ -20,3 +17,6 @@ SOURCES += \ OTHER_FILES += \ mapbox_plugin.json +PLUGIN_TYPE = geoservices +PLUGIN_CLASS_NAME = QGeoServiceProviderFactoryMapbox +load(qt_plugin) diff --git a/src/plugins/geoservices/nokia/nokia.pro b/src/plugins/geoservices/nokia/nokia.pro index 62b04870..cd340f50 100644 --- a/src/plugins/geoservices/nokia/nokia.pro +++ b/src/plugins/geoservices/nokia/nokia.pro @@ -1,4 +1,5 @@ TARGET = qtgeoservices_nokia + QT += location-private positioning-private network contains(QT_CONFIG, location-china-support) { @@ -7,10 +8,6 @@ contains(QT_CONFIG, location-china-support) { QT += systeminfo } -PLUGIN_TYPE = geoservices -PLUGIN_CLASS_NAME = QGeoServiceProviderFactoryNokia -load(qt_plugin) - HEADERS += \ qgeocodereply_nokia.h \ qgeocodexmlparser.h \ @@ -59,3 +56,6 @@ INCLUDEPATH += ../../../location/maps OTHER_FILES += \ nokia_plugin.json +PLUGIN_TYPE = geoservices +PLUGIN_CLASS_NAME = QGeoServiceProviderFactoryNokia +load(qt_plugin) diff --git a/src/plugins/geoservices/osm/osm.pro b/src/plugins/geoservices/osm/osm.pro index a00f1fb8..e73c16d7 100644 --- a/src/plugins/geoservices/osm/osm.pro +++ b/src/plugins/geoservices/osm/osm.pro @@ -1,9 +1,6 @@ TARGET = qtgeoservices_osm -QT += location-private positioning-private network -PLUGIN_TYPE = geoservices -PLUGIN_CLASS_NAME = QGeoServiceProviderFactoryOsm -load(qt_plugin) +QT += location-private positioning-private network HEADERS += \ qgeoserviceproviderpluginosm.h \ @@ -37,3 +34,6 @@ SOURCES += \ OTHER_FILES += \ osm_plugin.json +PLUGIN_TYPE = geoservices +PLUGIN_CLASS_NAME = QGeoServiceProviderFactoryOsm +load(qt_plugin) diff --git a/src/plugins/position/android/src/src.pro b/src/plugins/position/android/src/src.pro index 9c81dde5..3a19c85e 100644 --- a/src/plugins/position/android/src/src.pro +++ b/src/plugins/position/android/src/src.pro @@ -1,10 +1,6 @@ TARGET = qtposition_android -QT = core positioning - -PLUGIN_TYPE = position -PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryAndroid -load(qt_plugin) +QT = core positioning HEADERS = \ positionfactory_android.h \ @@ -19,3 +15,7 @@ SOURCES = \ qgeosatelliteinfosource_android.cpp OTHER_FILES = plugin.json + +PLUGIN_TYPE = position +PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryAndroid +load(qt_plugin) diff --git a/src/plugins/position/corelocation/corelocation.pro b/src/plugins/position/corelocation/corelocation.pro index 25748008..1a6c09e6 100644 --- a/src/plugins/position/corelocation/corelocation.pro +++ b/src/plugins/position/corelocation/corelocation.pro @@ -1,9 +1,6 @@ TARGET = qtposition_cl -QT = core positioning -PLUGIN_TYPE = position -PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryCL -load(qt_plugin) +QT = core positioning OBJECTIVE_SOURCES += \ qgeopositioninfosource_cl.mm \ @@ -19,3 +16,7 @@ OTHER_FILES += \ osx: LIBS += -framework Foundation else: ios: LIBS += -framework CoreFoundation LIBS += -framework CoreLocation + +PLUGIN_TYPE = position +PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryCL +load(qt_plugin) diff --git a/src/plugins/position/geoclue/geoclue.pro b/src/plugins/position/geoclue/geoclue.pro index 0d9aab7d..3f75cbf0 100644 --- a/src/plugins/position/geoclue/geoclue.pro +++ b/src/plugins/position/geoclue/geoclue.pro @@ -1,9 +1,6 @@ TARGET = qtposition_geoclue -QT = core positioning dbus -PLUGIN_TYPE = position -PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryGeoclue -load(qt_plugin) +QT = core positioning dbus HEADERS += \ qgeopositioninfosource_geocluemaster.h \ @@ -35,3 +32,7 @@ INCLUDEPATH += $$QT.location.includes $$OUT_PWD OTHER_FILES += \ plugin.json + +PLUGIN_TYPE = position +PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryGeoclue +load(qt_plugin) diff --git a/src/plugins/position/gypsy/gypsy.pro b/src/plugins/position/gypsy/gypsy.pro index f5c5a087..be65f183 100644 --- a/src/plugins/position/gypsy/gypsy.pro +++ b/src/plugins/position/gypsy/gypsy.pro @@ -1,9 +1,6 @@ TARGET = qtposition_gypsy -QT = core positioning -PLUGIN_TYPE = position -PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryGypsy -load(qt_plugin) +QT = core positioning HEADERS += \ qgeosatelliteinfosource_gypsy_p.h \ @@ -18,3 +15,7 @@ PKGCONFIG += gypsy gconf-2.0 OTHER_FILES += \ plugin.json + +PLUGIN_TYPE = position +PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryGypsy +load(qt_plugin) diff --git a/src/plugins/position/positionpoll/positionpoll.pro b/src/plugins/position/positionpoll/positionpoll.pro index cb84e79a..be60bf43 100644 --- a/src/plugins/position/positionpoll/positionpoll.pro +++ b/src/plugins/position/positionpoll/positionpoll.pro @@ -1,9 +1,6 @@ TARGET = qtposition_positionpoll -QT = core positioning -PLUGIN_TYPE = position -PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryPoll -load(qt_plugin) +QT = core positioning SOURCES += \ qgeoareamonitor_polling.cpp \ @@ -15,3 +12,7 @@ HEADERS += \ OTHER_FILES += \ plugin.json + +PLUGIN_TYPE = position +PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryPoll +load(qt_plugin) diff --git a/src/plugins/position/serialnmea/serialnmea.pro b/src/plugins/position/serialnmea/serialnmea.pro index 81570837..bdeb3f13 100644 --- a/src/plugins/position/serialnmea/serialnmea.pro +++ b/src/plugins/position/serialnmea/serialnmea.pro @@ -1,9 +1,6 @@ TARGET = qtposition_serialnmea -QT = core positioning serialport -PLUGIN_TYPE = position -PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactorySerialNmea -load(qt_plugin) +QT = core positioning serialport HEADERS += \ qgeopositioninfosourcefactory_serialnmea.h @@ -13,3 +10,7 @@ SOURCES += \ OTHER_FILES += \ plugin.json + +PLUGIN_TYPE = position +PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactorySerialNmea +load(qt_plugin) diff --git a/src/plugins/position/simulator/simulator.pro b/src/plugins/position/simulator/simulator.pro index dc00ae1a..9b999b3d 100644 --- a/src/plugins/position/simulator/simulator.pro +++ b/src/plugins/position/simulator/simulator.pro @@ -1,9 +1,6 @@ TARGET = qtposition_simulator QT = core network positioning -PLUGIN_TYPE = position -PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactorySimulator -load(qt_plugin) INCLUDEPATH += ../../../positioning QT += simulator @@ -19,3 +16,7 @@ HEADERS += qgeopositioninfosource_simulator_p.h \ OTHER_FILES += \ plugin.json + +PLUGIN_TYPE = position +PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactorySimulator +load(qt_plugin) diff --git a/src/plugins/position/winrt/winrt.pro b/src/plugins/position/winrt/winrt.pro index c58c6c18..bc740671 100644 --- a/src/plugins/position/winrt/winrt.pro +++ b/src/plugins/position/winrt/winrt.pro @@ -1,9 +1,6 @@ TARGET = qtposition_winrt -QT = core core-private positioning -PLUGIN_TYPE = position -PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryWinRT -load(qt_plugin) +QT = core core-private positioning SOURCES += qgeopositioninfosource_winrt.cpp \ qgeopositioninfosourcefactory_winrt.cpp @@ -12,3 +9,7 @@ HEADERS += qgeopositioninfosource_winrt_p.h \ OTHER_FILES += \ plugin.json + +PLUGIN_TYPE = position +PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryWinRT +load(qt_plugin) |