From 5b82c1b7abc515274e6348136356bbf8f1374e4a Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 18 Nov 2015 21:59:56 +0100 Subject: Private export QQuickItemView Qt Quick Controls 2 ComboBox needs access to: - QQuickItemView::itemAt() - QQuickItemView::indexAt() QQuickItemViewAttached had to be exported because it's in the same header file and has the Q_OBJECT macro (MSVC would fail to link staticMetaObject). Alternatively, it could have been moved to another header file. Change-Id: Icaab2c90c136074ae78ce02a422794bb7ccff4aa Reviewed-by: Mitch Curtis --- src/quick/items/qquickitemview_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/quick') diff --git a/src/quick/items/qquickitemview_p.h b/src/quick/items/qquickitemview_p.h index 789b5a3e55..d5c4f59ed2 100644 --- a/src/quick/items/qquickitemview_p.h +++ b/src/quick/items/qquickitemview_p.h @@ -57,7 +57,7 @@ class QQmlChangeSet; class QQuickItemViewPrivate; -class Q_AUTOTEST_EXPORT QQuickItemView : public QQuickFlickable +class Q_QUICK_PRIVATE_EXPORT QQuickItemView : public QQuickFlickable { Q_OBJECT @@ -284,7 +284,7 @@ private: }; -class Q_AUTOTEST_EXPORT QQuickItemViewAttached : public QObject +class Q_QUICK_PRIVATE_EXPORT QQuickItemViewAttached : public QObject { Q_OBJECT -- cgit v1.2.3