Über... hinzugefügt, Icon hinzugefügt

This commit is contained in:
2026-06-09 23:15:29 +02:00
parent 2181f254d2
commit 92168ee5dc
19 changed files with 1039 additions and 88 deletions

View File

@@ -23,6 +23,8 @@ set(SOURCES
src/tagwidget.cpp
src/tagpanel.cpp
src/connectdialog.cpp
src/v4l2worker.cpp
src/videowidget.cpp
)
set(HEADERS
@@ -33,9 +35,12 @@ set(HEADERS
include/tagwidget.h
include/tagpanel.h
include/connectdialog.h
include/v4l2worker.h
include/videowidget.h
)
add_executable(uartscope ${SOURCES} ${HEADERS})
qt6_add_resources(RESOURCES resources.qrc)
add_executable(uartscope ${SOURCES} ${HEADERS} ${RESOURCES})
target_include_directories(uartscope PRIVATE include)
@@ -46,6 +51,10 @@ target_link_libraries(uartscope PRIVATE
Qt6::SerialPort
)
# V4L2 uses Linux kernel headers directly (linux/videodev2.h)
# These are part of linux-api-headers / linux-libc-dev on all major distros.
# No additional library linkage needed.
# Installation
install(TARGETS uartscope DESTINATION bin)
@@ -56,3 +65,6 @@ configure_file(
@ONLY
)
install(FILES ${CMAKE_BINARY_DIR}/uartscope.desktop DESTINATION share/applications)
install(FILES ${CMAKE_SOURCE_DIR}/UartscopeLogo.png
DESTINATION share/icons/hicolor/512x512/apps
RENAME uartscope.png)