From 453a3806a31b29e8d57664359395ff1a59fdd49e Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 9 Oct 2018 08:57:20 +0200 Subject: Document that aliases cannot point to attached properties Change-Id: I0acef28542e5322cf3de23ec7fcb571513ccb673 Reviewed-by: Simon Hausmann --- src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qml/doc') diff --git a/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc b/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc index 31650db7c0..2bb1fcac61 100644 --- a/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc +++ b/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc @@ -462,6 +462,8 @@ Unlike an ordinary property, an alias has the following restrictions: \li The \e {alias reference} is not optional, unlike the optional default value for an ordinary property; the alias reference must be provided when the alias is first declared. +\li It cannot refer to \l {Attached Properties and Attached Signal Handlers} + {attached properties}. \li It cannot refer to grouped properties; the following code will not work: \code property alias color: rectangle.border.color -- cgit v1.2.3