TEMPLATE = lib TARGET = PfdQml QT += svg QT += opengl QT += declarative #DEFINES += USE_OSG include(../../openpilotgcsplugin.pri) include(../../plugins/coreplugin/coreplugin.pri) include(pfdqml_dependencies.pri) contains(DEFINES,USE_OSG){ LIBS += -losg -losgUtil -losgViewer -losgQt -losgDB -lOpenThreads -losgGA LIBS += -losgEarth -losgEarthFeatures -losgEarthUtil } HEADERS += \ pfdqmlplugin.h \ pfdqmlgadget.h \ pfdqmlgadgetwidget.h \ pfdqmlgadgetfactory.h \ pfdqmlgadgetconfiguration.h \ pfdqmlgadgetoptionspage.h contains(DEFINES,USE_OSG){ \ osgearth.h } SOURCES += \ pfdqmlplugin.cpp \ pfdqmlgadget.cpp \ pfdqmlgadgetfactory.cpp \ pfdqmlgadgetwidget.cpp \ pfdqmlgadgetconfiguration.cpp \ pfdqmlgadgetoptionspage.cpp contains(DEFINES,USE_OSG){ \ osgearth.cpp } OTHER_FILES += PfdQml.pluginspec FORMS += pfdqmlgadgetoptionspage.ui