Add 2d ploting for axis lines

This commit is contained in:
2021-07-17 21:48:54 +02:00
parent feceb3287c
commit 42da1746b5
5 changed files with 43391 additions and 26 deletions

View File

@ -11,8 +11,8 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Concurrent REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Concurrent REQUIRED)
find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Concurrent PrintSupport REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Concurrent PrintSupport REQUIRED)
find_package(OpenCV REQUIRED)
set(PROJECT_SOURCES
@ -53,12 +53,23 @@ set(PROJECT_SOURCES
src/ui/statisticsdialog.h
src/ui/statisticsdialog.cpp
src/ui/statisticsdialog.ui
src/ui/plot.cpp
src/ui/plot.h
src/qcustomplot/qcustomplot.h
src/qcustomplot/qcustomplot.cpp
src/regessioncalculator.h
src/regessioncalculator.cpp
src/ui/regressiondiag.h
src/ui/regressiondiag.cpp
src/ui/regressiondiag.ui
src/utilites.h
src/utilites.cpp
)
add_executable(MAClient ${PROJECT_SOURCES})
target_compile_options(MAClient PRIVATE "-std=gnu++17" "-Wall" "-O2" "-fno-strict-aliasing")
target_link_libraries(MAClient PRIVATE Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Concurrent ${OpenCV_LIBS} -luvoscam -luvosled -luvosunwrap)
target_link_libraries(MAClient PRIVATE Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Concurrent Qt${QT_VERSION_MAJOR}::PrintSupport ${OpenCV_LIBS} -luvoscam -luvosled -luvosunwrap)
target_include_directories(${PROJECT_NAME} PRIVATE ${OpenCV_INCLUDE_DIRS} src src/ui)
set(CMAKE_INSTALL_PREFIX "/usr")