Removed problematic cmake script and improved qmake script.

There was some issues in cmake build. For some reason it doesn't
handle QObjects properly and are so causing issues with telemetry
signals.

Modified qmake script to use user compiled MAVSDK installed to
/usr/local/

Type: Improvement
This commit is contained in:
Tuomas Järvinen
2024-05-20 17:05:38 +02:00
parent 442d9d3057
commit 028737478b
2 changed files with 4 additions and 20 deletions
+4 -2
View File
@@ -1,11 +1,13 @@
QT = core
CONFIG += c++17 cmdline
# Reduce compiler warnings from the ArduPilot headers
QMAKE_CXXFLAGS += -Wno-address-of-packed-member
# MAVSDK pkg-config file is garbage. Add dependency manually
INCLUDEPATH += /usr/include/mavsdk
LIBS += /usr/lib/libmavsdk.so.2
QMAKE_RPATHDIR += /usr/local/lib
INCLUDEPATH += /usr/local/include/mavsdk
LIBS += /usr/local/lib/libmavsdk.so
SOURCES += \
az_action_point.cpp \