Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] /usr/bin/qtconfig is missing components

316 views
Skip to first unread message

Mick

unread,
Jul 23, 2018, 4:20:02 AM7/23/18
to
When I run /usr/bin/qtconfig it complains about a missing '/usr/lib64/qt5/bin/
qtconfig':

$ /usr/bin/qtconfig
qtconfig: could not exec '/usr/lib64/qt5/bin/qtconfig': No such file or
directory

$ locate qtconfig
/usr/bin/qtconfig


Which package is responsible for it and how can I get it back?

--
Regards,
Mick
signature.asc

Peter Humphrey

unread,
Jul 23, 2018, 5:10:03 AM7/23/18
to
It looks as though the config program has been dropped from the current
version. On this box, /usr/bin/qtconfig is a symlink to qtchooser, whose man
page is not much help.

I remember using qtconfig to tweak a few things, but I haven't needed to
recently so it might have disappeared quietly without my noticing.

Sorry not to be more help.

--
Regards,
Peter.

Dale

unread,
Jul 23, 2018, 5:10:03 AM7/23/18
to
Does this help?

root@fireball / # equery b /usr/bin/qtconfig
 * Searching for /usr/bin/qtconfig ...
dev-qt/qtchooser-0_p20170803 (/usr/bin/qtconfig -> qtchooser)
dev-qt/qtchooser-0_p20170803 (/usr/bin/qtchooser)
root@fireball / #

Dale

:-)  :-) 

Franz Fellner

unread,
Jul 23, 2018, 5:10:03 AM7/23/18
to
Yeah, stupid qtchooser ;)

qtconfig got dropped, use x11-misc/qt5ct instead.

Mick

unread,
Jul 23, 2018, 6:10:03 AM7/23/18
to
On Monday, 23 July 2018 10:09:38 BST Franz Fellner wrote:
> Yeah, stupid qtchooser ;)
>
> qtconfig got dropped, use x11-misc/qt5ct instead.

Thanks Franz, qtconfig used to be installed by default with Qt. I wonder why
x11-misc/qt5ct isn't treated the same, especially as qtconfig is left on the
box and is symlinked to qtchooser now. :-/

--
Regards,
Mick
signature.asc

Mick

unread,
Jul 23, 2018, 6:10:03 AM7/23/18
to
Thanks Peter, thanks for pointing this out. I have the same symlink here. As
I understand it qtchooser is used to select which qt version to run, if you
have more than one. I'm looking for something to configure the widgets and
font sizes in the version I am presently running.

$ qtchooser -l
5
default
qt5-x86_64-pc-linux-gnu
qt5


I'm not sure why qtconfig is now a symlink to qtchooser, but this won't adjust
settings as far as I can tell.

--
Regards,
Mick
signature.asc

Franz Fellner

unread,
Jul 23, 2018, 6:30:03 AM7/23/18
to
IMO the problem is that qtchooser acts as one point to select ALL components for the default Qt, be it qt4 or qt5 (and possibly qt6 in 2020), without checking if the tool really exists.
It just forwards the call to an execuatble with the same name inside the qt-installation's bin dir. (/usr/lib/qt...)
qtconfig got removed and people (with DEs lacking qt integration) couldn't configure their fonts/colors/widget style/... anymore. So someone just started to develop a third-party config tool to fill the gap.
qtchooser on the other hand is an official qt tool (at least it is hosted on qt's servers). I think that's why they don't just call qt5ct ;) And it would introduce a speacial case for just this one tool.

Franz Fellner

unread,
Jul 23, 2018, 6:30:03 AM7/23/18
to
Just for fun:
Open /usr/bin/emerge in a text editor and read the first 10 lines.
Then run
grep python-exec /usr/bin/*

It basically is the same what qtchooser does: Forward a python script to the appropriate python version.
0 new messages