Solved External Customization
-
Hi
In Qt Widgets there is the qss file way of providing customization of widgets. This is nice because it allows the changing of properties without recompilation.
In QML I have been using the Style singleton method of providing customization but if I want to change a property I must recompile the application (unless I have missed something). Is there a way in QML of customizing ui elements that does not require recompilation?
Thanks -
Your singleton is a QML file. QML files are not compiled, you can replace the QML file between runs without recompiling the application.
You're probably keeping your style QML inside a QRC resource - and that is compiled indeed - just take it out of there :-) QML works fine with normal paths in the file system.
-
@sierdzio
Thanks a lot - i'll give it a go