Skip to content

Commit ca15f52

Browse files
committed
Remove perfparser
1 parent 5039121 commit ca15f52

File tree

6 files changed

+652
-4
lines changed

6 files changed

+652
-4
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ find_package(Qt5 COMPONENTS Core Widgets Network REQUIRED)
5959
find_package(LibElf REQUIRED)
6060
find_package(Elfutils REQUIRED) # TODO: make optional, use internal copy
6161
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
62+
find_package(ECM 1.0.0 NO_MODULE)
63+
64+
if(Qt5_FOUND AND ECM_FOUND)
65+
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
66+
find_package(KF5 OPTIONAL_COMPONENTS ThreadWeaver I18n ConfigWidgets CoreAddons)
67+
endif()
6268

6369
add_subdirectory(3rdparty)
6470

src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ add_executable(hotspot
99
models/costmodel.cpp
1010

1111
mainwindow.cpp
12+
flamegraph.cpp
1213

1314
# ui files:
1415
mainwindow.ui
@@ -19,6 +20,9 @@ add_executable(hotspot
1920

2021
target_link_libraries(hotspot
2122
Qt5::Widgets
23+
KF5::ThreadWeaver
24+
KF5::I18n
25+
KF5::ConfigWidgets
2226
)
2327

2428
set_target_properties(hotspot

0 commit comments

Comments
 (0)