Hi,
attached is a small patch which adds environment variable expansion to the
import statement. Rationale: this might be useful to implement different
(native) component styles.
You could make a module:
com.mycompany.qml-ui-components
which contains a C++ plugin and a bunch of files, e.g. Bu
> ---Button.qml---
> import "$STYLE"
> Button{}
>
Environment variables are notoriously cumbersome to set - especially hard if
you want to set it for already-running processes!
Note that you can achieve styling in multiple ways already, without th