Warning, /frameworks/kguiaddons/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 remove_definitions(-DQT_NO_CAST_FROM_ASCII)
0002 remove_definitions(-DQT_NO_CAST_TO_ASCII)
0003 
0004 include(ECMMarkAsTest)
0005 
0006 find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test Widgets)
0007 
0008 macro(kguiaddons_executable_tests)
0009   foreach(_testname ${ARGN})
0010     add_executable(${_testname} ${_testname}.cpp)
0011     target_link_libraries(${_testname} Qt6::Widgets KF6::GuiAddons)
0012     ecm_mark_as_test(${_testname})
0013   endforeach(_testname)
0014 endmacro()
0015 
0016 kguiaddons_executable_tests(
0017   kcolorcollectiontest
0018   kmodifierkeyinfotest
0019   openurltest
0020   kcursorsavergui_test
0021   kcolorschemewatchertest
0022   kcountryflagemojiiconenginedemo
0023 )