xdg-mime relies on qtpaths which might not exist in $PATH
If you use xdg-mime with Qt6 installed, you might get an error:
/usr/bin/xdg-mime: line 885: qtpaths: command not found
From packaging recommendations you can see that Qt only requires to link "user-facing applications" into $PATH
. Apparently, qtpaths
is not one of them and should not be relied upon. That is confirmed by Arch Linux maintainers.