From 718472d8e1e30fe2b0bc0e3b514ea0ed20259737 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 25 Nov 2020 15:53:44 +0100 Subject: Change QQuickRenderControlPrivate from autotest to private export There are legitimate cases for using the private class, the number one case being Design Studio where QQuickRenderControl and QRhi are used together. At the moment things work presumably because only member variables are accessed, and that works even in builds that do not have the member functions exported. Fix this up to be future proof. Pick-to: 6.0 Change-Id: I054deb31607ca8c95fccb2f5988dde6f0a9c372a Reviewed-by: Andy Nichols --- src/quick/items/qquickrendercontrol_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quick/items/qquickrendercontrol_p.h') diff --git a/src/quick/items/qquickrendercontrol_p.h b/src/quick/items/qquickrendercontrol_p.h index c24ea9b8c6..00d9c909d0 100644 --- a/src/quick/items/qquickrendercontrol_p.h +++ b/src/quick/items/qquickrendercontrol_p.h @@ -60,7 +60,7 @@ class QRhi; class QRhiCommandBuffer; class QOffscreenSurface; -class Q_AUTOTEST_EXPORT QQuickRenderControlPrivate : public QObjectPrivate +class Q_QUICK_PRIVATE_EXPORT QQuickRenderControlPrivate : public QObjectPrivate { public: Q_DECLARE_PUBLIC(QQuickRenderControl) -- cgit v1.2.3