Hello. I have a similar problem.
In addition to: -DQT_HOST_PATH=/usr/lib/qt6 You must also set: -DQT_HOST_PATH_CMAKE_DIR=/usr/lib/${DEB_HOST_MULTIARCH}/cmake But then it still fails with this error now: Configuring submodule 'qtbase' -- Could NOT find Qt6CoreTools (missing: Qt6CoreTools_DIR) CMake Error at qtbase/cmake/QtToolHelpers.cmake:184 (message): Failed to find the host tool "Qt6::moc". It is part of the Qt6CoreTools package, but the package could not be found. Make sure you have built and installed the host Core module, which will ensure the creation of the Qt6CoreTools package. Call Stack (most recent call first): qtbase/src/tools/moc/CMakeLists.txt:8 (qt_internal_add_tool) Any idea how to make it find the Qt core tools like moc? The qt6-base-dev package is installed, as well as qt6-base-dev-tools Regards On Sat, 23 Apr 2022 15:14:55 +0200 Helmut Grohne <hel...@subdivi.de> wrote: > Hi, > > On Sat, Apr 23, 2022 at 09:38:54AM +0200, Helmut Grohne wrote: > > I expect that QT_HOST_PATH also needs to point to architecture-dependent > > files (e.g. libraries). Qt5 has faced as similar problem and thus added > > Dmitry noted that none of Qt6's executables (possibly except for qmake) > are architecture-dependent and encouraged me to try > -DQT_HOST_PATH=/usr/lib/qt6. When you