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

2018-07-23 Thread Franz Fellner
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.

2018-07-23 13:20 GMT+03:00 Franz Fellner :

> 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.
>
>
> 2018-07-23 13:05 GMT+03:00 Mick :
>
>> 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
>
>
>


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

2018-07-23 Thread Franz Fellner
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.


2018-07-23 13:05 GMT+03:00 Mick :

> 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


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

2018-07-23 Thread Mick
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
Description: This is a digitally signed message part.


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

2018-07-23 Thread Mick
On Monday, 23 July 2018 10:01:18 BST Peter Humphrey wrote:
> On Monday, 23 July 2018 09:19:05 BST Mick wrote:
> > 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?
> 
> 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.

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
Description: This is a digitally signed message part.


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

2018-07-23 Thread Franz Fellner
Yeah, stupid qtchooser ;)

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

2018-07-23 12:02 GMT+03:00 Dale :

> Mick wrote:
> > 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?
> >
>
>
> 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
>
> :-)  :-)
>
>


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

2018-07-23 Thread Dale
Mick wrote:
> 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?
>


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

:-)  :-) 



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

2018-07-23 Thread Peter Humphrey
On Monday, 23 July 2018 09:19:05 BST Mick wrote:
> 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?

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.






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

2018-07-23 Thread Mick
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
Description: This is a digitally signed message part.