Unsolved See qml changes in Live/Runtime
-
Hello Qt community.
Do you know any tools , which can be used for observing QML changes in Live (during runtime)?
For this purposes I have tried qmllive and qml.exe, but there are a problems:- QML code is located in Dll
- Common QML code(buttos, styles etc.) located in c++ project, which launch QML DLL
- QML code in Dll contains imported C++ objects (via qmlRegisterType)
And it looks with qmllive it doesn't work
Given all the above, is it possible somehow to observe QML changes in runtime?
I'll be appreciate for any ideas, which will or could help provide such functionality... even if it will require from me writing a tons of code. -
Not completely clear what your needs are but give Gammaray a try
-
My main goal: launch a product, which will launch my dll with qml code, do some changes in qml files (from which this dll is built) and observe this changes in live in UI without restarting application.
Or if it possible to do without launching application - it will works for me too.@VRonin Thanks for the link, I'll investigate it
-
@Holiday said in See qml changes in Live/Runtime:
do some changes in qml files (from which this dll is built)
I'm not sure this is possible at all unless by "changes" you mean changing variables and stuff
-
-
@Holiday I also made once this:
https://github.com/DeiVadder/RuntimeQmlReload
to reload QML files during runtime.
But it's not made to do it from inside a dll, but from inside the main program.
But it may help?