[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:21:33 Ralf Jung wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> >>> For now I'll say it's not a bug, but I'll keep it open to see
> >>> if XDG_CONFIG_DIRS could instead be prepended.
> >> 
> >> So, what do I have to add to XDG_CONFIG_DIRS (or any other
> >> environment variable) in my script to make it work again?
> > 
> > The path to where the qtchooser config files are. For example,
> > libqtcore4:amd64 ships:
> > 
> > /usr/lib/x86_64-linux-gnu/qtchooser/4.conf
> > /usr/lib/x86_64-linux-gnu/qtchooser/qt4.conf
> 
> 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.

Well actually there's usr/share/qtchooser with the appropiate configs in 
there:

$ ls /usr/share/qtchooser/
qt4-i386-linux-gnu.conf  qt4-x86_64-linux-gnu.conf  qt5-x86_64-linux-gnu.conf


-- 
No subestimes el ancho de banda de un camión
cargado de cintas.
  Andrew S. Tanenbaum

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: