Skip to content

[BUG] Multiple globals.xml files not allowed #407

Description

@JohnGoewert

LVGL Pro 2.0.1
LVGL 9.5

You can load multiple globals.xml files if needed. They merge into the same global scope, preventing duplicate items.

From https://lvgl.io/docs/pro/syntax/introduction#shared-resources-with-globalsxml

When building:

❌ Error generating code: Failed to generate code: Duplicate critical XML files detected: globals.xml. Each must be present only once.

I really would like this function to work or a way of importing other xml files into globals.xml. The concept I am trying to implement is a shared component pool for different projects. The component pool would be imported as a group and would bring in their specific globals (colors, sizes, etc...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions