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>
This commit is contained in:
Yuhang Zhao 2022-08-12 17:09:30 +08:00
parent 1c7c277bf1
commit ca42be4176
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ private:
bool explicitCurrentIndex; bool explicitCurrentIndex;
}; };
class QQuickStackLayoutAttached : public QObject class Q_QUICKLAYOUTS_PRIVATE_EXPORT QQuickStackLayoutAttached : public QObject
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(int index READ index NOTIFY indexChanged) Q_PROPERTY(int index READ index NOTIFY indexChanged)