@ -543,7 +543,25 @@ MESONBUILD = meson compile -C $(BUILD_DIR) $(MESON_BUILD) && meson install -C $(
# shared Qt config
i f d e f H A V E _ C R O S S _ C O M P I L E
QT_LIBEXECS := $( shell qmake6 -query QT_HOST_LIBEXECS)
QT_BINS := $( shell qmake6 -query QT_HOST_BINS)
e l s e
QT_LIBEXECS := $( shell qmake6 -query QT_INSTALL_LIBEXECS) :$( shell qmake6 -query QT_HOST_LIBEXECS)
QT_BINS := $( shell qmake6 -query QT_INSTALL_BINS) :$( shell qmake6 -query QT_HOST_BINS)
e n d i f
i f e q ( $( call system_tool_majmin , qmake 6 -query QT_VERSION ) , $( QTBASE_VERSION_MAJOR ) )
i f e q ( $( call system_tool_majmin , PATH ="$ {QT_LIBEXECS }" moc --version ) , $( QTBASE_VERSION_MAJOR ) )
i f e q ( $( call system_tool_majmin , PATH ="$ {QT_BINS }" qsb --version ) , $( QTBASE_VERSION_MAJOR ) )
i f e q ( $( call system_tool_majmin , PATH ="$ {QT_LIBEXECS }" qmlcachegen --version ) , $( QTBASE_VERSION_MAJOR ) )
QT_USES_SYSTEM_TOOLS = 1
e n d i f
e n d i f
e n d i f
e n d i f
i f d e f H A V E _ C R O S S _ C O M P I L E
i f d e f Q T _ U S E S _ S Y S T E M _ T O O L S
# using system Qt native tools
QT_HOST_PREFIX := $( shell PATH = " ${ SYSTEM_PATH } " qmake6 -query QT_HOST_PREFIX)
QT_HOST_LIBS := $( shell PATH = " ${ SYSTEM_PATH } " qmake6 -query QT_HOST_LIBS)