Bug 507275 - xdg-utils incompatibility with Plasma 6 due to missing qtpaths binary
Summary: xdg-utils incompatibility with Plasma 6 due to missing qtpaths binary
Status: RESOLVED NOT A BUG
Alias: None
Product: kde-cli-tools
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-20 15:28 UTC by robin
Modified: 2025-07-21 10:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robin 2025-07-20 15:28:21 UTC
Dear KDE developers,

There is an upstream compatibility issue affecting KDE Plasma 6 users caused by `xdg-utils`. The `xdg-mime` tool relies on the Qt5 `qtpaths` binary to detect the desktop environment, but Plasma 6 only provides `qtpaths6`. This leads to the error:

/usr/bin/xdg-mime: line 885: qtpaths: command not found

As a result, MIME type handling and default application associations fail on Plasma 6.

This issue has been reported upstream on freedesktop GitLab:  
https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/283

We kindly ask the KDE team to monitor this issue and coordinate with upstream as needed.

I was unsure in which product to post this, so excuse me if I'm wrong. I'm somewhat new here.

Thank you!
Comment 1 Antonio Rojas 2025-07-20 15:33:39 UTC
qtpaths is provided by Qt, not KDE
Comment 2 robin 2025-07-21 10:08:54 UTC
(In reply to Antonio Rojas from comment #1)
> qtpaths is provided by Qt, not KDE

Sorry, I thought it was a good idea to let you guys know I filed a bug upstream.

They apparantly already fixed it and merged into master, so should be available in their next release.

I verified their fix:
https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/283

I'm also fairly new to posting linux bug reports, I try to read guidelines, but it is a lot. So please forgive me if this wasted your time.

Thanks for your work!