[Interest] qmake to cmake - error: redefinition of 'unit' const QQmlPrivate::CachedQmlUnit unit
Ulf Hermann
ulf.hermann at qt.io
Thu Dec 15 13:21:41 CET 2022
> 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
More information about the Interest
mailing list