[Buildroot] [PATCH 3/3] package/qt6/qt6tools: build only host linguist tools

Christian Hitz christian at klarinett.li
Thu Apr 17 15:49:58 UTC 2025


Hi Roy

On Tue, 18 Feb 2025 22:48:28 +0100 Roy Kollen Svendsen <roykollensvendsen at gmail.com> wrote:

> -ifeq ($(BR2_PACKAGE_HOST_QT6TOOLS_LINGUIST_TOOLS),y)
> -HOST_QT6TOOLS_CONF_OPTS += -DFEATURE_linguist=ON
> -# When we have qt6declarative for the target, we need to build the
> -# linguist tool with host-qt6declarative support so that it handles
> -# QML/JS files
> -ifeq ($(BR2_PACKAGE_QT6DECLARATIVE),y)
> +ifeq ($(BR2_PACKAGE_HOST_QT6DECLARATIVE),y)

This host variable is never declared in a Config.in.host. So when I select
BR2_PACKAGE_HOST_QT6DECLARATIVE in another package it is not set and therfore
the tools are not built with QML/JS support.

In order to get the QML/JS support I had to add BR2_PACKAGE_HOST_QT6DECLARATIVE
in a new package/qt6/qt6declarative/Config.in.host file.

Regards
Christian



More information about the buildroot mailing list