QGCLocationPlugin.pro 1.05 KB
Newer Older
dogmaphobic's avatar
dogmaphobic committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46

!ios {
    include($$PWD/../../QGCCommon.pri)
    TEMPLATE     = lib
    TARGET       = QGeoServiceProviderFactoryQGC
    CONFIG      += plugin static
    PLUGIN_TYPE  = geoservices
}

QT  += location-private positioning-private network

contains(QT_VERSION, 5.5.1) {

    message(Using Local QtLocation headers for Qt 5.5.1)

    INCLUDEPATH += \
        $$PWD/qtlocation/include \

} else {

    message(Using Default QtLocation headers)

    INCLUDEPATH += $$QT.location.includes

}

HEADERS += \
    $$PWD/qgeoserviceproviderpluginqgc.h \
    $$PWD/qgeotiledmappingmanagerengineqgc.h \
    $$PWD/qgeotilefetcherqgc.h \
    $$PWD/qgeomapreplyqgc.h \
    $$PWD/qgeocodingmanagerengineqgc.h \
    $$PWD/qgeocodereplyqgc.h \
    $$PWD/OpenPilotMaps.h

SOURCES += \
    $$PWD/qgeoserviceproviderpluginqgc.cpp \
    $$PWD/qgeotiledmappingmanagerengineqgc.cpp \
    $$PWD/qgeotilefetcherqgc.cpp \
    $$PWD/qgeomapreplyqgc.cpp \
    $$PWD/qgeocodingmanagerengineqgc.cpp \
    $$PWD/qgeocodereplyqgc.cpp \
    $$PWD/OpenPilotMaps.cc

OTHER_FILES += \
    $$PWD/qgc_maps_plugin.json