diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,7 @@ include(GenerateExportHeader) include(FeatureSummary) include(ECMAddAppIcon) +include(ECMPoQmTools) find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core DBus Gui Widgets) @@ -42,6 +43,8 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/kcachegrind.lsm.cmake ${CMAKE_CURRENT_BINARY_DIR}/kcachegrind.lsm ) ENDIF(NOT WIN32) +ecm_create_qm_loader(kcachegrind_QM_LOADER kcachegrind_qt) + add_subdirectory( doc ) add_subdirectory( libcore ) add_subdirectory( cgview ) diff --git a/kcachegrind/CMakeLists.txt b/kcachegrind/CMakeLists.txt --- a/kcachegrind/CMakeLists.txt +++ b/kcachegrind/CMakeLists.txt @@ -5,6 +5,7 @@ kdeconfig.cpp toplevel.cpp configdlg.cpp + ${kcachegrind_QM_LOADER} ) ki18n_wrap_ui(kcachegrind_SRCS configdlgbase.ui dumpselectionbase.ui)