Bug#730423: qtchooser: could not find a Qt installation of
> On Sunday, November 24, 2013 7:36 PM, Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com> wrote:
> > On Sunday 24 November 2013 17:46:35 Greg Sharp wrote:
>
>> Package: qtchooser
>> Version: 31-g980c64c-4
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> I suffer from the seemingly common problem of qtchooser not finding
>> its configuration directories. (cf #710773, #726989).
>>
>> For example, with qt4-default installed, the following occurs:
>>
>> $ qtchooser -list-versions
>> $ qtchooser -print-env
>> qtchooser: could not find a Qt installation of ''
>>
>> Unsetting XDG_CONFIG_DIRS does solve the problem, but my expectation
>> would be a working package as default.
>>
>> Is this an issue with qtchooser, or is it xfce shouldn't set
>> XDG_CONFIG_DIRS, or somewhere else?
>
> Upstream considers that if XDG_CONFIG_DIRS is set, qtchooser's config should
>
> be found using it, ignoring everything else, including the default we provide.
>
> On the other hand we the Qt/KDE team consider that the normal place for which
> XDG_CONFIG_DIRS points, /etc/xdg/, is not a place to store qtchooser's
> configs.
>
> So if you set XDG_CONFIG_DIR, you need to set provide qtchooser's config.
> You
> can do that by symlinking /usr/share/qtchooser
>
> --
>
> Lisandro Damián Nicanor Pérez Meyer
> http://perezmeyer.com.ar/
> http://perezmeyer.blogspot.com/
Thank you Lisandro for the very clear explanation.
I search a little, it seems xfce4 which sets XDG_CONFIG_DIRS
in the script /usr/bin/startxfce4. Do you think it is an
incorrect choice by xfce to set this variable,
or maybe they should also append your qtchooser directories?
It is a problem that qmake and other executables aren't working.
Nevertheless, it is difficult for me to suggest how to resolve.
--
Greg Sharp
gregsharp@geocities.com
Reply to: