2012-07-23 09:19:24 +02:00
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = PfdQml
|
|
|
|
QT += svg
|
|
|
|
QT += opengl
|
|
|
|
QT += declarative
|
2012-09-13 16:44:04 +02:00
|
|
|
OSG {
|
|
|
|
DEFINES += USE_OSG
|
|
|
|
}
|
2012-07-23 09:19:24 +02:00
|
|
|
|
|
|
|
include(../../openpilotgcsplugin.pri)
|
|
|
|
include(../../plugins/coreplugin/coreplugin.pri)
|
|
|
|
include(pfdqml_dependencies.pri)
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
pfdqmlplugin.h \
|
|
|
|
pfdqmlgadget.h \
|
|
|
|
pfdqmlgadgetwidget.h \
|
|
|
|
pfdqmlgadgetfactory.h \
|
|
|
|
pfdqmlgadgetconfiguration.h \
|
2012-07-30 17:11:36 +02:00
|
|
|
pfdqmlgadgetoptionspage.h
|
2012-07-31 16:34:25 +02:00
|
|
|
|
2012-07-23 09:19:24 +02:00
|
|
|
SOURCES += \
|
|
|
|
pfdqmlplugin.cpp \
|
|
|
|
pfdqmlgadget.cpp \
|
|
|
|
pfdqmlgadgetfactory.cpp \
|
|
|
|
pfdqmlgadgetwidget.cpp \
|
|
|
|
pfdqmlgadgetconfiguration.cpp \
|
2012-07-30 17:11:36 +02:00
|
|
|
pfdqmlgadgetoptionspage.cpp
|
2012-07-31 16:34:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
contains(DEFINES,USE_OSG) {
|
|
|
|
LIBS += -losg -losgUtil -losgViewer -losgQt -losgDB -lOpenThreads -losgGA
|
|
|
|
LIBS += -losgEarth -losgEarthFeatures -losgEarthUtil
|
|
|
|
|
|
|
|
HEADERS += osgearth.h
|
|
|
|
SOURCES += osgearth.cpp
|
2012-07-30 17:11:36 +02:00
|
|
|
}
|
2012-07-23 09:19:24 +02:00
|
|
|
|
|
|
|
OTHER_FILES += PfdQml.pluginspec
|
|
|
|
|
|
|
|
FORMS += pfdqmlgadgetoptionspage.ui
|
|
|
|
|