qt_add_executable(ut_word-candidates
    ut_word-candidates.cpp
    wordengineprobe.cpp wordengineprobe.h
    ${CMAKE_SOURCE_DIR}/src/plugin/editor.cpp
)

target_link_libraries(ut_word-candidates PRIVATE
    tests-common
    Qt::Core
    Qt::Gui
    Qt::Test
    PkgConfig::GSETTINGS_QT6
)

add_test(NAME ut_word-candidates COMMAND ut_word-candidates)
