颜色修改红绿,修复帧错误卡顿bug
This commit is contained in:
@@ -91,6 +91,8 @@ set(TOUCHSENSOR_HEADERS
|
||||
component.hh
|
||||
components/charts/heatmap.hh
|
||||
components/charts/heatmap.impl.hh
|
||||
components/charts/vector_field.hh
|
||||
components/charts/line_chart.hh
|
||||
dlog/dlog.hh
|
||||
${FFMSEP_HEADERS}
|
||||
components/setting.cc
|
||||
@@ -98,7 +100,15 @@ set(TOUCHSENSOR_HEADERS
|
||||
|
||||
qt6_add_resources(APP_RESOURCES resources.qrc)
|
||||
|
||||
add_executable(${PROJECT_NAME} WIN32
|
||||
# add_executable(${PROJECT_NAME} WIN32
|
||||
# ${COMPONENT_SOURCES}
|
||||
# ${UTILITY_SOURCES}
|
||||
# ${TOUCHSENSOR_HEADERS}
|
||||
# ${BASE_SOURCES}
|
||||
# main.cc
|
||||
# )
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
${COMPONENT_SOURCES}
|
||||
${UTILITY_SOURCES}
|
||||
${TOUCHSENSOR_HEADERS}
|
||||
@@ -141,17 +151,17 @@ set(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/deploy" CACHE PATH "" FORCE)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
install(TARGETS
|
||||
touchsensor
|
||||
creeper-qt
|
||||
qcustomplot
|
||||
RUNTIME DESTINATION .
|
||||
LIBRARY DESTINATION .
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
touchsensor
|
||||
creeper-qt
|
||||
qcustomplot
|
||||
RUNTIME DESTINATION .
|
||||
LIBRARY DESTINATION .
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
)
|
||||
|
||||
if(BUILD_EXAMPLE)
|
||||
install(TARGETS cpstream_demo
|
||||
RUNTIME DESTINATION .
|
||||
RUNTIME DESTINATION .
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -161,8 +171,8 @@ if(WIN32)
|
||||
get_filename_component(_qt_bin_dir "${_qt_core_location}" DIRECTORY)
|
||||
|
||||
find_program(WINDEPLOYQT_EXECUTABLE
|
||||
NAMES windeployqt windeployqt.exe
|
||||
HINTS "${_qt_bin_dir}"
|
||||
NAMES windeployqt windeployqt.exe
|
||||
HINTS "${_qt_bin_dir}"
|
||||
)
|
||||
|
||||
if(WINDEPLOYQT_EXECUTABLE)
|
||||
@@ -170,7 +180,7 @@ if(WIN32)
|
||||
|
||||
# 安装完之后,对 deploy/touchsensor.exe 跑 windeployqt
|
||||
install(CODE
|
||||
"execute_process(
|
||||
"execute_process(
|
||||
COMMAND \"${WINDEPLOYQT_EXECUTABLE}\"
|
||||
--dir \"${CMAKE_INSTALL_PREFIX}\"
|
||||
--no-translations
|
||||
@@ -190,9 +200,9 @@ if(MINGW)
|
||||
get_filename_component(MINGW_BIN_DIR "${CMAKE_CXX_COMPILER}" DIRECTORY)
|
||||
|
||||
set(MINGW_RUNTIME_DLLS
|
||||
libstdc++-6.dll
|
||||
libgcc_s_seh-1.dll
|
||||
libwinpthread-1.dll
|
||||
libstdc++-6.dll
|
||||
libgcc_s_seh-1.dll
|
||||
libwinpthread-1.dll
|
||||
)
|
||||
|
||||
foreach(dll ${MINGW_RUNTIME_DLLS})
|
||||
|
||||
Reference in New Issue
Block a user