@Kmasx
Did you try to pass CMAKE_PREFIX_PATH to the directory where KDSingleApplication-qt6Config.cmake is located like the message suggests?