aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-11-25 15:53:44 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-11-26 20:15:12 +0000
commit98cbb96efcd6937309493c9732d5b2839b5ee8c4 (patch)
tree83152c93f1903a553bf9a79f74f75c087c4ecafc /src/quick
parent0f0d39c708f5be77a4a9cf9491e64c8a42770c4c (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. Change-Id: I054deb31607ca8c95fccb2f5988dde6f0a9c372a Reviewed-by: Andy Nichols <andy.nichols@qt.io> (cherry picked from commit 718472d8e1e30fe2b0bc0e3b514ea0ed20259737) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quick')
-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)