aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2022-08-12 17:09:30 +0800
committerYuhang Zhao <2546789017@qq.com>2022-08-13 13:27:43 +0800
commitca42be4176c7cef99779d64f31a5892a6038efd3 (patch)
tree8a6f8fe3cb9abd2801f9acc2bec468557aa8b669
parent1c7c277bf17c33fe00583db79626cb1015c5d15f (diff)
QQuickStackLayout: also export the attached type
Make QQuickStackLayout more usable for users besides Qt itself. Pick-to: 6.4 Change-Id: I1f39ba31d99cf6e52fdc26fde96900938413b77f Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--src/quicklayouts/qquickstacklayout_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicklayouts/qquickstacklayout_p.h b/src/quicklayouts/qquickstacklayout_p.h
index 86000759d1..c7c174450e 100644
--- a/src/quicklayouts/qquickstacklayout_p.h
+++ b/src/quicklayouts/qquickstacklayout_p.h
@@ -89,7 +89,7 @@ private:
bool explicitCurrentIndex;
};
-class QQuickStackLayoutAttached : public QObject
+class Q_QUICKLAYOUTS_PRIVATE_EXPORT QQuickStackLayoutAttached : public QObject
{
Q_OBJECT
Q_PROPERTY(int index READ index NOTIFY indexChanged)