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

Bug#906546: <triplet>-qmake does not honour QT_SELECT





El sáb., 18 de ago. de 2018 06:36, Helmut Grohne <helmut@subdivi.de> escribió:
Package: qt5-qmake
Version: 5.11.1+dfsg-6
Severity: wishlist
User: helmutg@debian.org
Usertags: rebootstrap
File: /usr/bin/x86_64-linux-gnu-qmake

Hi,

I noticed that there is a (probably unintentional) difference between
plain qmake and <triplet>-qmake. The former honours QT_SELECT (via
qtchooser) and the latter does not. This is fine now, because cross
building does not work with qt4 at all, but once qt6 becomes a thing,
it'll break cross building all qt6 packages.

Running <triplet>-qmake should
 * behave exactly the same way as plain qmake for native builds.
 * honour QT_SELECT even for cross builds (even though using qt4 is
   going to fail).

I guess that getting there also means moving the file to qtchooser and
then having qtchooser dispatch the call to <triplet>-qmake-qt5 or
something similar.

In any case, the present setup make transitioning to qt6 very difficult.
Either qt5-qmake and qt6-qmake will conflict or we need to start
thinking about where <triplet>-qmake belongs.

Except qt6 will not use qmake. Or at least that's where we heading.

Reply to: