Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.15.2, 6.1.2
Description
Error message from duplicate signals (attempt to override, in my specific case) is confusing: it implies that there is some "valid" way to override signals. But as far as I can tell from the code, there isn't.
Duplicate signal name: invalid override of property change signal or superclass signal
qtdeclarative/src/qml/qml/qqmlpropertycachecreator_p.h
QString signalName = stringAt(s->nameIndex); if (seenSignals.contains(signalName)) return qQmlCompileError(s->location, QQmlPropertyCacheCreatorBase::tr("Duplicate signal name: invalid override of property change signal or superclass signal")); seenSignals.insert(signalName);