Files
autopilot/src/autopilot.pro
T
Tuomas Järvinen dda897a573 Register MAVSDK::Telemetry::Position type for Qt
Without this application can't get position events in Qt5 based systems.

Type: Improvement
2024-05-20 18:11:06 +02:00

32 lines
770 B
Prolog

QT = core
CONFIG += cmdline
# Reduce compiler warnings from the ArduPilot headers
QMAKE_CXXFLAGS += -Wno-address-of-packed-member -std=gnu++1z
# MAVSDK pkg-config file is garbage. Add dependency manually
QMAKE_RPATHDIR += /usr/local/lib
INCLUDEPATH += /usr/local/include/mavsdk
LIBS += /usr/local/lib/libmavsdk.so
SOURCES += \
az_action_point.cpp \
az_coordinate.cpp \
az_drone_controller.cpp \
az_mission.cpp \
az_mission_controller.cpp \
az_utils.cpp \
main.cpp
target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
HEADERS += \
az_action_point.h \
az_config.h \
az_coordinate.h \
az_drone_controller.h \
az_mission.h \
az_mission_controller.h \
az_utils.h