mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-29 05:21:44 -09:00
package/qt6/qt6tools: enable QML support in linguist
When BR2_PACKAGE_QT6DECLARATIVE_QUICK is enabled the qt linuguist tool lupdate should support QML/JS files. Signed-off-by: Christian Hitz <christian.hitz@bbv.ch> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
aba638007f
commit
4a81496168
@@ -49,6 +49,12 @@ HOST_QT6TOOLS_DEPENDENCIES = host-qt6base
|
||||
|
||||
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)
|
||||
HOST_QT6TOOLS_DEPENDENCIES += host-qt6declarative
|
||||
endif
|
||||
else
|
||||
HOST_QT6TOOLS_CONF_OPTS += -DFEATURE_linguist=OFF
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user