From 3a5f37d5b9e206eb96b85dec7c6948f1faa5b253 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Mon, 18 Mar 2024 14:53:05 +0100 Subject: QML_CONSTRUCTIBLE_VALUE: Fix docs QML rsepects visibility when calling methods, so the constructor needs to be public. Fixes: QTBUG-123421 Pick-to: 6.7 Change-Id: I02d102c169f8791c328333d71975e69f9863fa9a Reviewed-by: Ulf Hermann --- src/qml/doc/src/qmlfunctions.qdoc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/doc') diff --git a/src/qml/doc/src/qmlfunctions.qdoc b/src/qml/doc/src/qmlfunctions.qdoc index 84602345fb..ecb13f160d 100644 --- a/src/qml/doc/src/qmlfunctions.qdoc +++ b/src/qml/doc/src/qmlfunctions.qdoc @@ -1499,6 +1499,7 @@ Q_GADGET QML_VALUE_TYPE(myValueType) QML_CONSTRUCTIBLE_VALUE + public: Q_INVOKABLE MyValueType(double d); // ... -- cgit v1.2.3