Ulf, I found the culprit. I was indeed doing a duplicated import of my qml.cmake file, which was adding each qml twice to the compilation.
Thanks for the heads up. Best regards, Nuno > On 15 Dec 2022, at 12:21, Ulf Hermann via Interest <interest@qt-project.org> > wrote: > >> list(APPEND QML_FILES >> resources/qml/Browser.qml >> resources/qml/BrowserBank.qml >> resources/qml/BrowserButton.qml >> … > > Are there more files called "Browser.qml" in the same module? That doesn't > work. Your QML components need unique names. > > Or is there some qt_target_qml_sources() or similar, repeating the same QML > files? > > In general, I think we need a bug report with a complete example. > > best regards, > Ulf > _______________________________________________ > 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