SUMMARY qtpaths6 is missing in qt6-base STEPS TO REPRODUCE 1. Run /usr/lib/qt6/qtpaths6 OBSERVED RESULT No such file or directory EXPECTED RESULT Run qtpaths6 SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION
In (k)ubuntu it is located at `/usr/bin/qtpaths6` in `qt6-base-dev-tools` package: https://packages.ubuntu.com/noble/amd64/qt6-base-dev-tools/filelist
How to find in which Debian/Ubuntu deb file a certain file is located: sudo apt install apt-file sudo apt-file update apt-file search qtpaths6 # Says: # qt6-base-dev-tools: /usr/bin/qtpaths6 # qt6-base-dev-tools: /usr/lib/qt6/bin/qtpaths6
Maybe qt6-base-dev-tools is actually the correct package to contain qtpaths{6}. I was just wondering, because `/usr/lib/qt6/bin/qtpaths` was present **without** the qt6-base-dev-tools packages and it symlinks to `/usr/lib/qt6/bin/qtpaths6`, which was not present... Now I'm confused: Using dpkg -S I get the following packages: ``` $ dpkg -S /usr/lib/qt6/bin/qtpaths qt6-base: /usr/lib/qt6/bin/qtpaths $ dpkg -S /usr/lib/qt6/bin/qtpaths6 qt6-base-dev: /usr/lib/qt6/bin/qtpaths6 ``` Using apt-file I get the following packages: ``` $ apt-file search /usr/lib/qt6/bin/qtpaths qt6-base-dev-tools: /usr/lib/qt6/bin/qtpaths qt6-base-dev-tools: /usr/lib/qt6/bin/qtpaths6 $ apt-file search /usr/lib/qt6/bin/qtpaths6 qt6-base-dev-tools: /usr/lib/qt6/bin/qtpaths6 ``` If apt-file is correct, then everything seems to be fine. But if dpkg -S is correct, something is wrong. One of those commands must be lying.
good catch. debian packaging does indeed symlink certainly binaries in /usr/lib/qt6/bin out into /usr/bin/ with a 6 suffix to avoid clashes with past versions named the same. i clumped them all together to simplify packaging but didn't take into account that if the qt6-base-dev metapackage wasn't installed the symlinks to dev binaries would dangle. fixed with https://invent.kde.org/neon/qt6/qt6-base/-/commit/0cc81415aeaa773f8fb882607e2b6668f8e8eb64.