Commit ea29c2d 1 parent 2726159 commit ea29c2d Copy full SHA for ea29c2d
File tree 5 files changed +35
-21
lines changed
5 files changed +35
-21
lines changed Original file line number Diff line number Diff line change 1
- gz_gui_add_plugin(CameraFps
2
- SOURCES
3
- CameraFps.cc
4
- QT_HEADERS
5
- CameraFps.hh
6
- PUBLIC_LINK_LIBS
1
+ qt6_add_qml_module(CameraFps
2
+ URI camera_fps
3
+ VERSION 1.0
4
+ SOURCES CameraFps.cc
5
+ QML_FILES CameraFps.qml
6
+ )
7
+
8
+ target_link_libraries (CameraFps PRIVATE
7
9
gz-rendering${GZ_RENDERING_VER} ::gz-rendering${GZ_RENDERING_VER}
10
+ gz-transport${GZ_TRANSPORT_VER} ::gz-transport${GZ_TRANSPORT_VER}
11
+ gz-plugin${GZ_PLUGIN_VER} ::register
12
+ Qt6::Gui
13
+ Qt6::Widgets
14
+ Qt6::Quick
15
+ Qt6::QuickControls2
8
16
)
9
17
18
+ install (TARGETS CameraFps DESTINATION ${GZ_GUI_PLUGIN_INSTALL_DIR} )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- gz_gui_add_plugin (CameraTracking
2
- SOURCES
3
- CameraTracking.cc
4
- QT_HEADERS
5
- CameraTracking.hh
6
- TEST_SOURCES
7
- # CameraTracking_TEST.cc
8
- PUBLIC_LINK_LIBS
1
+ qt6_add_qml_module (CameraTracking
2
+ URI camera_tracking
3
+ VERSION 1.0
4
+ SOURCES CameraTracking.cc
5
+ QML_FILES CameraTracking.qml
6
+ )
7
+
8
+ target_link_libraries (CameraTracking PRIVATE
9
9
gz-rendering${GZ_RENDERING_VER} ::gz-rendering${GZ_RENDERING_VER}
10
- gz-common${GZ_COMMON_VER} ::profiler
10
+ gz-transport${GZ_TRANSPORT_VER} ::gz-transport${GZ_TRANSPORT_VER}
11
+ gz-plugin${GZ_PLUGIN_VER} ::register
12
+ Qt6::Gui
13
+ Qt6::Widgets
14
+ Qt6::Quick
15
+ Qt6::QuickControls2
11
16
)
17
+
18
+ install (TARGETS CameraTracking DESTINATION ${GZ_GUI_PLUGIN_INSTALL_DIR} )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ set(SOURCES
12
12
)
13
13
14
14
qt6_add_qml_module(MinimalScene
15
- URI MinimalScene
15
+ URI minimal_scene
16
16
VERSION 1.0
17
17
SOURCES ${SOURCES}
18
18
QML_FILES MinimalScene.qml
Original file line number Diff line number Diff line change 57
57
# include " MinimalSceneRhiOpenGL.hh"
58
58
#endif
59
59
60
+ #if MINIMAL_SCENE_HAVE_VULKAN
60
61
#include < QVulkanInstance>
61
62
#include " MinimalSceneRhiVulkan.hh"
63
+ #include < gz/rendering/RenderEngineVulkanExternalDeviceStructs.hh>
64
+ #endif // MINIMAL_SCENE_HAVE_VULKAN
62
65
63
66
#if MINIMAL_SCENE_HAVE_METAL
64
67
# include " MinimalSceneRhiMetal.hh"
You can’t perform that action at this time.
0 commit comments