Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.4.0 Beta4
-
57808284db (qt/qtdeclarative/dev) 57808284db (qt/tqtc-qtdeclarative/dev) 55b4d8899c (qt/qtdeclarative/6.4) 55b4d8899c (qt/tqtc-qtdeclarative/6.4) 847e84466f (qt/tqtc-qtdeclarative/6.2)
Description
Using inline components in signals should be possible, but it seems that the qml utility is not allowing it.
Example program:
import QtQuick
Item {
component Abc: Item {}
signal canYouFeelIt(arg1: Abc)
}
Qml output:
QQmlApplicationEngine failed to load component
file:///tmp/abc.qml:6:12: Invalid signal parameter type: Abc
qml: Did not load any objects, exiting.
Attachments
Issue Links
- relates to
-
QTBUG-106392 Alias is invalid when accessed from C++ via QObject::property()
-
- Closed
-