org.kde.syntaxhighlighting should be a required dependency. https://invent.kde.org/network/neochat/-/commit/6dab24bc7467e58df1d537af35153e9a74d7b674 doesn't fix it. See also: https://bugs.archlinux.org/task/72382 https://bugzilla.opensuse.org/show_bug.cgi?id=1192170
ecm_find_qmlmodule is the correct way to declare a required runtime dependencies. See https://api.kde.org/ecm/module/ECMFindQmlModule.html Unfortunately not every distro get it right and don't see the cmake warnings about a missing runtime dependency. The two linked bugs are also now fixed downstream