Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
6.5.3
-
None
Description
Triggering a signal from a simple singleton like the following:
// Foo.qml pragma Singleton import QtQml QtObject { signal foo() }
from `Connections` in a different file:
// Bar.qml ... Button { onClicked: Foo.foo() } Connections { target: Foo function onFoo() { console.log("foo"); } } ...
Crashes the application.
I tested the same QML program with 6.5.2 and it works as expected.
Attachments
Issue Links
- duplicates
-
QTBUG-117852 [REG 6.5.2 -> 6.5.3] Qml crashes when singletons send signals
- Closed
- relates to
-
QTBUG-117805 Invocation of a C++ static method via an inherited QML singleton causes a crash
- Closed