-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Michael Carroll <[email protected]>
- Loading branch information
Showing
5 changed files
with
35 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
gz_gui_add_plugin(CameraFps | ||
SOURCES | ||
CameraFps.cc | ||
QT_HEADERS | ||
CameraFps.hh | ||
PUBLIC_LINK_LIBS | ||
qt6_add_qml_module(CameraFps | ||
URI camera_fps | ||
VERSION 1.0 | ||
SOURCES CameraFps.cc | ||
QML_FILES CameraFps.qml | ||
) | ||
|
||
target_link_libraries(CameraFps PRIVATE | ||
gz-rendering${GZ_RENDERING_VER}::gz-rendering${GZ_RENDERING_VER} | ||
gz-transport${GZ_TRANSPORT_VER}::gz-transport${GZ_TRANSPORT_VER} | ||
gz-plugin${GZ_PLUGIN_VER}::register | ||
Qt6::Gui | ||
Qt6::Widgets | ||
Qt6::Quick | ||
Qt6::QuickControls2 | ||
) | ||
|
||
install (TARGETS CameraFps DESTINATION ${GZ_GUI_PLUGIN_INSTALL_DIR}) |
This file was deleted.
Oops, something went wrong.
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,11 +1,18 @@ | ||
gz_gui_add_plugin(CameraTracking | ||
SOURCES | ||
CameraTracking.cc | ||
QT_HEADERS | ||
CameraTracking.hh | ||
TEST_SOURCES | ||
# CameraTracking_TEST.cc | ||
PUBLIC_LINK_LIBS | ||
qt6_add_qml_module(CameraTracking | ||
URI camera_tracking | ||
VERSION 1.0 | ||
SOURCES CameraTracking.cc | ||
QML_FILES CameraTracking.qml | ||
) | ||
|
||
target_link_libraries(CameraTracking PRIVATE | ||
gz-rendering${GZ_RENDERING_VER}::gz-rendering${GZ_RENDERING_VER} | ||
gz-common${GZ_COMMON_VER}::profiler | ||
gz-transport${GZ_TRANSPORT_VER}::gz-transport${GZ_TRANSPORT_VER} | ||
gz-plugin${GZ_PLUGIN_VER}::register | ||
Qt6::Gui | ||
Qt6::Widgets | ||
Qt6::Quick | ||
Qt6::QuickControls2 | ||
) | ||
|
||
install(TARGETS CameraTracking DESTINATION ${GZ_GUI_PLUGIN_INSTALL_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
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