From a8ca9c418f8c85f9a4b768ea6699a494daa1b769 Mon Sep 17 00:00:00 2001 From: Wang Zichong Date: Mon, 9 Sep 2024 11:58:24 +0800 Subject: [PATCH] QBindable: mark two constructors as available since Qt 6.5 These two constructors were introduced in Qt 6.5 within commit 4fb9666. Since both Ubuntu 24.04 and Debian bookworm only ship Qt 6.4.2, it's worth to mark those two ctors as introduced since Qt 6.5, so developers who browse the online documentation could explicitly mark at least Qt 6.5 is required, or avoid using those two constructors if they need to target Qt 6.4. Change-Id: Ideb50123d8bac175096c11e5ae297f1e1c65c5d1 Reviewed-by: Ulf Hermann --- src/corelib/kernel/qproperty.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/kernel/qproperty.cpp b/src/corelib/kernel/qproperty.cpp index 2ca42a7cb76..0721b01387f 100644 --- a/src/corelib/kernel/qproperty.cpp +++ b/src/corelib/kernel/qproperty.cpp @@ -1171,6 +1171,7 @@ QString QPropertyBindingError::description() const /*! \fn template QBindable::QBindable(QObject *obj, const char *property) + \since 6.5 Constructs a QBindable for the \l Q_PROPERTY \a property on \a obj. The property must have a notify signal but does not need to have \c BINDABLE in its \c Q_PROPERTY @@ -1197,6 +1198,7 @@ QString QPropertyBindingError::description() const /*! \fn template QBindable::QBindable(QObject *obj, const QMetaProperty &property) + \since 6.5 See \l QBindable::QBindable(QObject *obj, const char *property) */