Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651580 - dev-qt/qtchooser: Obsolete /usr/bin/qtconfig symlink
Summary: dev-qt/qtchooser: Obsolete /usr/bin/qtconfig symlink
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 828577 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-26 13:47 UTC by kavol
Modified: 2021-12-08 21:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2018-03-26 13:47:40 UTC
SSIA - after some QT update, I cannot run qtconfig

looks like some hardcoded paths need updating ...

$ qtconfig 
qtconfig: could not exec '/usr/lib64/qt5/bin/qtconfig': No such file or directory
$ which qtconfig
/usr/bin/qtconfig
$ /usr/bin/qtconfig
qtconfig: could not exec '/usr/lib64/qt5/bin/qtconfig': No such file or directory
$ equery b /usr/bin/qtconfig
 * Searching for /usr/bin/qtconfig ... 
dev-qt/qtchooser-0_p20151008 (/usr/bin/qtchooser)
dev-qt/qtchooser-0_p20151008 (/usr/bin/qtconfig -> qtchooser)
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-03-26 15:19:44 UTC
qtconfig tool exists in Qt 4 (/usr/lib64/qt4/bin/qtconfig from dev-qt/qtgui:4), but not in Qt 5.

A third-party configuration tool for Qt 5 is provided by x11-misc/qt5ct.


Qt team: Maybe /usr/bin/qtconfig symlink should be deleted?
Comment 2 Davide Pesavento gentoo-dev 2018-03-26 15:35:12 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #1)
> Qt team: Maybe /usr/bin/qtconfig symlink should be deleted?

No, why? The whole point of qtchooser is that users and developers can use a command-line option or an env variable to switch between qt4 and qt5 without specifying full paths to binaries. We may do that once qt4 is treecleaned, but not yet.
Comment 3 kavol 2018-03-26 20:34:04 UTC
(In reply to Davide Pesavento from comment #2)
> (In reply to Arfrever Frehtes Taifersar Arahesis from comment #1)
> > Qt team: Maybe /usr/bin/qtconfig symlink should be deleted?
> 
> No, why? The whole point of qtchooser is that users and developers can use a
> command-line option or an env variable to switch between qt4 and qt5 without
> specifying full paths to binaries. We may do that once qt4 is treecleaned,
> but not yet.

ahem, I don't get it why do you close this bug

- it simply doesn't work in default configuration, so I don't see what is "INVALID" about reporting that a binary searches nonexistant path ...

if a qt4 app doesn't have its qt5 counterpart then what is the point in pretending so but failing to execute?

(In reply to Arfrever Frehtes Taifersar Arahesis from comment #1)
> A third-party configuration tool for Qt 5 is provided by x11-misc/qt5ct.

thanks for the pointer

um, "after some QT update" - sounds funny when it concerns 4=>5, but I really hadn't run it in ages :-)
Comment 4 Arfrever Frehtes Taifersar Arahesis 2018-03-26 23:27:47 UTC
Anyway if you use KDE Plasma, then you do not need qtconfig or qt5ct. (Qt 5 applications would respect KDE settings.)
Comment 5 kavol 2018-03-27 08:05:02 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #4)
> Anyway if you use KDE Plasma, then you do not need qtconfig or qt5ct. (Qt 5
> applications would respect KDE settings.)

I use LXQt on that machine; there are some problems now, also when running apps remotely via ssh, so I wanted to check what Qt settings are applied independently on the DE
Comment 6 inasprecali 2019-08-17 13:32:58 UTC
Bump.
Comment 7 Davide Pesavento gentoo-dev 2019-08-17 18:20:23 UTC
I still don't fully understand what problems the dangling symlink causes. And it's not just qtconfig, you will likely have several more, such as qdoc3 and qml1plugindump. As I said, this is entirely expected. This is the approach upstream has chosen to support side-by-side installations of different major versions of Qt and I don't see any reasons to deviate from it.
Comment 9 IvaHarvie 2021-07-28 04:39:36 UTC Comment hidden (spam)
Comment 10 Davide Pesavento gentoo-dev 2021-12-08 21:42:08 UTC
*** Bug 828577 has been marked as a duplicate of this bug. ***