Hello, I can't answer your question specifically, but if you're using Qt 6 you may want to look into QQmlEngine::addUrlInterceptor to handle live reloads. I don't think Qt 5 has something equivalent. You can look for runtimeqml on GitHub for a use of it (disclaimer- I'm the author and while it works for me it was not extensively tested ;-) https://github.com/GIPdA/runtimeqml <https://github.com/GIPdA/runtimeqml> ).
Benjamin > Le 27 oct. 2022 à 23:13, Benjamin TERRIER <b.terr...@gmail.com> a écrit : > > Hi, > > Is there a way to not embed QML files into the Qt resource system when using > qt_add_qml_module() ? > > Or at least, not generate the "prefer :/..." line in the qmldir file ? > > Having the prefer line makes it impossible to load QML files from disk, > preventing any kind of live reloading of QML. > > Thanks > > Benjamin > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest