Bug 514991

Summary: QML LSP may not always be named `qmlls`, but Kate always looks for `qmlls`
Product: [Applications] kate Reporter: Nate Graham <nate>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdedev
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2026-01-23 21:39:39 UTC
On KDE Linux — an Arch-based distro — Kate can't find the QML LSP binary:

> [14:16:21  LSP Client Warning] Failed to find server binary 'qmlls' for language 'qml'
> Please check your PATH for the binary

It's actually named `qmlls6`. Symlinking `qmlls` to `qmlls6` makes Kate find it (even packaged as a Flatpak!).

Because Qt provides un-versioned binaries, every distro is going to name this and other similar binaries in their own unique special way.

Kate probably needs to check for multiple binary names here, not just one. Off the top of my head, I've seen:
- qmlls
- qmll6s
- qmlls-qt6

I imagine this may be true for other LSP binaries, too.
Comment 1 Nate Graham 2026-01-23 21:41:58 UTC
(for item 2, it should be "qmlls6", not "qmll6s". That would be even worse!)