CMakeLists.txt contains KF5IconThemes as required package, but KF5IconThemes not used by kpimtextedit.
Hi, src/composer-ng/autotests/richtextcomposertest.cpp still uses it. Regards
I compile all components with -DBUILD_TESTING=FALSE option. So I think, a conditional search is the best solution: if(BUILD_TESTING) find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Test) find_package(KF5IconThemes ${KF5_MIN_VERSION} CONFIG REQUIRED) add_definitions(-DBUILD_TESTING) endif()