aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types/qqmlbind_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-07-12 14:49:10 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-07-13 09:00:54 +0200
commit1f8858cf7f2a79aa6d25af3cf12fd9ca48e45d5d (patch)
treecfb249c56e5a3db903b9fb8ef2b90252660302d5 /src/qml/types/qqmlbind_p.h
parent1f859401576e1e4039777f97bc037c209e36ede0 (diff)
Privately export all QML-exposed types
We need to be able to access them from C++. Pick-to: 6.2 Change-Id: I2b7b823cbb36866240d194e877a3dd49f5d2f350 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/types/qqmlbind_p.h')
-rw-r--r--src/qml/types/qqmlbind_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/types/qqmlbind_p.h b/src/qml/types/qqmlbind_p.h
index 052af0d167..25c185fee3 100644
--- a/src/qml/types/qqmlbind_p.h
+++ b/src/qml/types/qqmlbind_p.h
@@ -51,6 +51,7 @@
// We mean it.
//
+#include <private/qtqmlglobal_p.h>
#include <qqml.h>
#include <QtCore/qobject.h>
@@ -58,7 +59,7 @@
QT_BEGIN_NAMESPACE
class QQmlBindPrivate;
-class Q_AUTOTEST_EXPORT QQmlBind : public QObject, public QQmlPropertyValueSource, public QQmlParserStatus
+class Q_QML_PRIVATE_EXPORT QQmlBind : public QObject, public QQmlPropertyValueSource, public QQmlParserStatus
{
public:
enum RestorationMode {