[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#710773: qtchooser: New error/warning when using Qt and cmake: qmake: could not find a Qt installation of ''



On Sunday 02 June 2013 17:23:51 Ralf Jung wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi again,
> 
> > Ouch, that's ugly. So I have to teach it about multiarch and
> > figuring out the current arch-triplet? I think I prefer the
> > warning... In this case I have to say that I definitely consider
> > this a bug: /usr/share is the default for XDG_DATA_DIRS, and all
> > applications should behave the same whether XDG_DATA_DIRS in unset
> > or set to /usr/share. /usr/lib/... on the other hand is definitely
> > not a data directory (otherwise it wouldn't be called lib), so it
> > should never be in XDG_DATA_DIRS.
> 
> Sorry, I meant XDG_CONFIG_DIRS up there. Still /usr/lib does not sound
> like a CONFIG_DIR to me, but it's more arguable than in case of data ;-)

If you lok at the spec, XDG_CONFIG_DIRS it's either empty or should point to 
/etc/xdg, where you should put your qtchooser configs. Once you use that 
variable, you are taking the responsability for it.

On the other hand, we can talk with upstream to see if this can be relaxed a 
little (as I said, prepend XDG_CONFIG_DIRS from the search path instead of 
replacing QTCHOOSER_GLOBAL_DIR).

-- 
Ponga su mano en una estufa caliente por un minuto, y le parecerá como una
hora. Siéntese con una muchacha bonita por una hora, y le parecerá un minuto.
¡Eso es relatividad!.
 Albert Einstein (1879-1955)

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: