aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-11-25 15:53:44 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-11-26 17:57:34 +0100
commit718472d8e1e30fe2b0bc0e3b514ea0ed20259737 (patch)
tree8f6edd65f53ecc111a09c7548e0bb9b08a511ad2 /src/quick/items
parent00b727df37d5f5d5393c971bd2128f93a7db44c5 (diff)
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 <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/items')
-rw-r--r--src/quick/items/qquickrendercontrol_p.h2
1 files changed, 1 insertions, 1 deletions
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)