QQuickShortcut: export as part of private API

All the Qt Quick types in src/quick/util are exported
except this one, so export it as well. It may also be
used by external users when implementing something in
pure C++ instead of QML.

Pick-to: 6.4
Change-Id: If224608127e5fdc2c834b294f200b7a72fae6f96
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Yuhang Zhao 2022-08-12 10:50:49 +08:00
parent ca42be4176
commit 70074e1aca
1 changed files with 2 additions and 1 deletions

View File

@ -22,12 +22,13 @@
#include <QtQml/qqmlparserstatus.h>
#include <QtQml/qqml.h>
#include <QtCore/private/qglobal_p.h>
#include <QtQuick/private/qtquickglobal_p.h>
QT_BEGIN_NAMESPACE
class QShortcutEvent;
class QQuickShortcut : public QObject, public QQmlParserStatus
class Q_QUICK_PRIVATE_EXPORT QQuickShortcut : public QObject, public QQmlParserStatus
{
Q_OBJECT
Q_INTERFACES(QQmlParserStatus)