On Fri, Aug 25, 2017 at 11:44:34AM +0200, Helmut Grohne wrote: > On Wed, Apr 01, 2015 at 12:44:33PM +0300, Dmitry Shachnev wrote: > > On Thu, 26 Mar 2015 09:55:40 +0100, chrysn wrote: > > > on a system on which qt4-qmake is installed as i386 package > > > (4:4.8.6+git64-g5dc8b2) and qtchooser is installed as amd64 (no idea why > > > this happened on my system, but qt4-qmake being Multi-Arch:foreign > > > indicates it should be ok), qtchooser fails to find qmake: > > > > Does ???qmake -qt=qt4-i386-linux-gnu??? work for you? > > Most likely, it does. The question here is: Does every consumer do that?
Worse. It doesn't. When you pass -qt=$something, qtchooser reads a file /usr/share/qtchooser/$something.conf. Those files reside in qtchooser rather than qmake. When you install qtchooser and qmake for different architectures, the relevant configuration file ends up missing. So the projected approach doesn't work. Helmut