-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
927e79d
commit 37315ab
Showing
53 changed files
with
523 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
find_package(Qt6 COMPONENTS Core Network REQUIRED) | ||
find_package(Qt6 REQUIRED COMPONENTS Core) | ||
|
||
qt_add_library(AirLink STATIC | ||
AirlinkLink.cc | ||
AirlinkLink.h | ||
AirLinkManager.cc | ||
AirLinkManager.h | ||
AirLinkSettings.qml | ||
) | ||
qt_add_library(AirLink STATIC) | ||
|
||
target_link_libraries(AirLink | ||
PUBLIC | ||
Qt6::Core | ||
Qt6::Network | ||
FactSystem | ||
Settings | ||
qgc | ||
) | ||
option(QGC_AIRLINK_DISABLED "Enable airlink" OFF) | ||
if(NOT ${QGC_AIRLINK_DISABLED}) | ||
find_package(Qt6 COMPONENTS Network REQUIRED) | ||
|
||
target_include_directories(AirLink PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) | ||
target_sources(AirLink | ||
PRIVATE | ||
AirlinkLink.cc | ||
AirlinkLink.h | ||
AirLinkManager.cc | ||
AirLinkManager.h | ||
) | ||
|
||
add_custom_target(AirLinkQml | ||
SOURCES | ||
AirLinkSettings.qml | ||
) | ||
|
||
target_link_libraries(AirLink | ||
PUBLIC | ||
Qt6::Core | ||
Qt6::Network | ||
FactSystem | ||
Settings | ||
qgc | ||
) | ||
|
||
target_include_directories(AirLink PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) | ||
else() | ||
target_compile_definitions(AirLink PUBLIC QGC_AIRLINK_DISABLED) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
find_package(Qt6 REQUIRED COMPONENTS Core TextToSpeech Widgets) | ||
|
||
qt_add_library(Audio STATIC | ||
AudioOutput.cc | ||
AudioOutput.h | ||
) | ||
|
||
target_link_libraries(Audio | ||
PRIVATE | ||
Qt6::Widgets | ||
qgc | ||
PUBLIC | ||
Qt6::Core | ||
Qt6::Qml | ||
Qt6::TextToSpeech | ||
Qt6::Widgets | ||
) | ||
|
||
target_include_directories(Audio PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,37 @@ | ||
add_custom_target(APMAutoPilotPluginQml | ||
SOURCES | ||
APMAirframeComponent.qml | ||
APMAirframeComponentSummary.qml | ||
APMCameraComponent.qml | ||
APMCameraComponentSummary.qml | ||
APMCameraSubComponent.qml | ||
APMFlightModesComponent.qml | ||
APMFlightModesComponentSummary.qml | ||
APMHeliComponent.qml | ||
APMLightsComponent.qml | ||
APMLightsComponentSummary.qml | ||
APMNotSupported.qml | ||
APMPowerComponent.qml | ||
APMPowerComponentSummary.qml | ||
APMRadioComponentSummary.qml | ||
APMRemoteSupportComponent.qml | ||
APMSafetyComponent.qml | ||
APMSafetyComponentCopter.qml | ||
APMSafetyComponentPlane.qml | ||
APMSafetyComponentRover.qml | ||
APMSafetyComponentSub.qml | ||
APMSafetyComponentSummary.qml | ||
APMSafetyComponentSummaryCopter.qml | ||
APMSafetyComponentSummaryPlane.qml | ||
APMSafetyComponentSummaryRover.qml | ||
APMSafetyComponentSummarySub.qml | ||
APMSensorsComponent.qml | ||
APMSensorsComponentSummary.qml | ||
APMSubFrameComponent.qml | ||
APMSubFrameComponentSummary.qml | ||
APMSubMotorComponent.qml | ||
APMTuningComponentCopter.qml | ||
APMTuningComponentSub.qml | ||
find_package(Qt6 REQUIRED COMPONENTS Core Qml) | ||
|
||
add_custom_target(APMAutoPilotPluginQml | ||
SOURCES | ||
APMAirframeComponent.qml | ||
APMAirframeComponentSummary.qml | ||
APMCameraComponent.qml | ||
APMCameraComponentSummary.qml | ||
APMCameraSubComponent.qml | ||
APMFlightModesComponent.qml | ||
APMFlightModesComponentSummary.qml | ||
APMHeliComponent.qml | ||
APMLightsComponent.qml | ||
APMLightsComponentSummary.qml | ||
APMNotSupported.qml | ||
APMPowerComponent.qml | ||
APMPowerComponentSummary.qml | ||
APMRadioComponentSummary.qml | ||
APMRemoteSupportComponent.qml | ||
APMSafetyComponent.qml | ||
APMSafetyComponentCopter.qml | ||
APMSafetyComponentPlane.qml | ||
APMSafetyComponentRover.qml | ||
APMSafetyComponentSub.qml | ||
APMSafetyComponentSummary.qml | ||
APMSafetyComponentSummaryCopter.qml | ||
APMSafetyComponentSummaryPlane.qml | ||
APMSafetyComponentSummaryRover.qml | ||
APMSafetyComponentSummarySub.qml | ||
APMSensorsComponent.qml | ||
APMSensorsComponentSummary.qml | ||
APMSubFrameComponent.qml | ||
APMSubFrameComponentSummary.qml | ||
APMSubMotorComponent.qml | ||
APMTuningComponentCopter.qml | ||
APMTuningComponentSub.qml | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.