diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-01-05 13:31:26 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-01-12 20:58:49 +0100 |
commit | 60439071f9beac5b1da15bd2d656215970c9b447 (patch) | |
tree | e209f607dfdb8bdf52c6cf791a8c52dbd487057a /src/qmltest/quicktestevent_p.h | |
parent | 843be43f18ecb007a0bb5fbb9034b8643a28b196 (diff) |
QmlTest: Privately export the QML-exposed classes
This is necessary for them to be used in QML code compiled to C++.
Change-Id: Id4bd265dee857eb32195580cbdc424ecbff90435
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/qmltest/quicktestevent_p.h')
-rw-r--r-- | src/qmltest/quicktestevent_p.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qmltest/quicktestevent_p.h b/src/qmltest/quicktestevent_p.h index 4e63a2e47e..8e823e46a4 100644 --- a/src/qmltest/quicktestevent_p.h +++ b/src/qmltest/quicktestevent_p.h @@ -51,6 +51,8 @@ // We mean it. // +#include <QtQuickTest/private/quicktestglobal_p.h> + #include <QtCore/qobject.h> #include <QtGui/QWindow> #include <QtQml/qqml.h> @@ -59,7 +61,7 @@ QT_BEGIN_NAMESPACE class QuickTestEvent; -class QQuickTouchEventSequence : public QObject +class Q_QUICK_TEST_PRIVATE_EXPORT QQuickTouchEventSequence : public QObject { Q_OBJECT QML_ANONYMOUS @@ -79,7 +81,7 @@ private: QuickTestEvent * const m_testEvent; }; -class QuickTestEvent : public QObject +class Q_QUICK_TEST_PRIVATE_EXPORT QuickTestEvent : public QObject { Q_OBJECT Q_PROPERTY(int defaultMouseDelay READ defaultMouseDelay FINAL) |