Adding
# ===== THE KEY FIX =====
# Point to host Qt for build tools (moc, rcc, qmlimportscanner)
set(QT_HOST_PATH "/opt/qt/6.7.2/gcc_64")
# Point to target Qt for libraries/headers
LIST(APPEND CMAKE_PREFIX_PATH "/opt/qt/6.7.2/msvc2019_64")
solved problem with incorrect qmlimportscanner found. Now it uses gcc64 version.