| Summary: | qtpaths6 is missing in qt6-base | ||
|---|---|---|---|
| Product: | [KDE Neon] neon | Reporter: | tomkneiphof |
| Component: | Packages User Edition | Assignee: | Neon Bugs <neon-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | carlosd.kde, jr, meven29, nate, neon-bugs-null, nmariusp1, rf-kde, sitter |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
tomkneiphof
2024-03-04 15:48:15 UTC
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. qtpaths is used by some install scripts of dolphin service menus. With KDE 5 there was a tool (kdeconfig?) which was always present and used by such install scripts. It seems to be overkill to install qt-base-dev just to get qtpaths installed. Would be nice to have that in qt6-base instead. (In reply to René Fritz from comment #5) > qtpaths is used by some install scripts of dolphin service menus. > > With KDE 5 there was a tool (kdeconfig?) which was always present and used > by such install scripts. > > It seems to be overkill to install qt-base-dev just to get qtpaths > installed. Would be nice to have that in qt6-base instead. whilst we deviate quite a bit from upstream ubuntu/debian packaging in some areas, i think this might be a step to far. either the dolphin service menus need to find a different method to find the relevant paths or qt6-base-dev needs to be installed. |