Skip to content

Image from relative @image-url path resolves to absolute path in generated C++ code #7393

@gammaEmitter

Description

@gammaEmitter

Windows 11, Slint 1.9.2, Development in Visual Studio Code

In .slint file I am descibing image sources via @image-url as a relative path.
This works when in development. When I want to make the application standalone (for personal use only, home machine / work machine) those resources are absolute paths in the generated C++ file.

I know that I could handle the image files / other resources from C++ and hand them over to Slint.
But my expecation from using relative paths is that those stay relative.

Is this intended behavior or could this be a feature request?

Thanks for the fascinating development, keep on going!

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