添加QCustomPlot模块
This commit is contained in:
parent
7c2d409091
commit
9b00b92d23
|
|
@ -11,6 +11,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||
|
||||
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets)
|
||||
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets)
|
||||
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS PrintSupport)
|
||||
|
||||
set(ADS_VERSION 4.3.1)
|
||||
add_subdirectory(QtADS)
|
||||
|
|
@ -96,6 +97,8 @@ set(UTIL_FILES
|
|||
util/TimeLine/timeStampItem.cpp
|
||||
util/TimeLine/eventItem.h
|
||||
util/TimeLine/eventItem.cpp
|
||||
util/Chart/qcustomplot.h
|
||||
util/Chart/qcustomplot.cpp
|
||||
)
|
||||
|
||||
# 包含源文件目录
|
||||
|
|
@ -137,6 +140,7 @@ else()
|
|||
endif()
|
||||
|
||||
target_include_directories(PowerMaster PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
target_link_libraries(PowerMaster PRIVATE Qt${QT_VERSION_MAJOR}::PrintSupport)
|
||||
target_link_libraries(PowerMaster PRIVATE qt${QT_VERSION_MAJOR}advanceddocking)
|
||||
target_link_libraries(PowerMaster PUBLIC Qt${QT_VERSION_MAJOR}::Core
|
||||
Qt${QT_VERSION_MAJOR}::Gui
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue