Re: [Interest] Change QML Application Style on Runtime

2022-05-25 Thread Michael Jackson
Here is a bit of the code that we used in our desktop QML application to reload the application when the user pressed F7. QQmlApplicationEngine engine; QmlReloader reloader(&engine); QObject::connect( &engine, &QQmlApplicationEngine::objectCreated, qApp, [](QObject*

Re: [Interest] Change QML Application Style on Runtime

2022-05-24 Thread Alexander Dyagilev
Hello, Try to call App.changeStyle via queued connection. I.e. your Button::onClicked handler must exit BEFORE you shut the engine down. On 5/24/2022 6:45 PM, randomslap--- via Interest wrote: Hello Qt people!     I would like to inquire your assistance regarding this: Is there a way to cha