Hi Helmut and all! On Sun, Dec 03, 2023 at 09:37:39PM +0100, Helmut Grohne wrote: > [...] > > Assuming we're still on track, I think stuff comes out of ecm_query_qt, > which is defined in modules/ECMQueryQt.cmake. This works differently for > Qt5 and Qt6. For Qt5, it invokes Qt5::qmake -query. This is something we > redirected to point at ${DEB_HOST_GNU_TYPE}-qmake and this generally > gives the right variables. Getting there was a longer journey, but this > now works neatly. What we're looking at here though is the Qt6 case and > there we use Qt6::qtpaths. As far as I understand it, this is new in > Qt6. While we did add a ${DEB_HOST_GNU_TYPE}-qmake6 wrapper script, I am > not aware of any qtpaths6 wrapper. Running it like qtpaths6 --query > QT_INSTALL_QML gives /usr/lib/x86_64-linux-gnu/qt6/qml here and that > very plausibly explains the original failure.
Wrapping qtpaths6 should be possible. It accepts --qtconf <path> option just like qmake. -- Dmitry Shachnev
signature.asc
Description: PGP signature