diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-28 08:59:57 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-09-28 09:01:19 +0200 |
commit | 236b310595395b2ae01623d2bbdf96c87d8b49ce (patch) | |
tree | 8ef2177d21844d3b3fe15acc28de782ec9e0ea47 /src | |
parent | 1175d0ea638a1b932f4a9465cea191a72fe8a8c1 (diff) |
Export QQmlLocale symbols
After 8e222a70d19d5eef616e1d6306415da64fbab4cb, QQmlLocale is a namespace
and doesn't export any symbols. Export the member functions explicitly, as
they are needed by Qt Quick Controls.
Change-Id: I867cb5c0325c6c19200408b514c086c8057c82a9
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/qml/qqmllocale_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/qml/qqmllocale_p.h b/src/qml/qml/qqmllocale_p.h index a1acb2bad8..73eae259fb 100644 --- a/src/qml/qml/qqmllocale_p.h +++ b/src/qml/qml/qqmllocale_p.h @@ -139,10 +139,10 @@ namespace QQmlLocale }; Q_ENUM_NS(NumberOptions) - QV4::ReturnedValue locale(QV4::ExecutionEngine *engine, const QString &localeName); - QV4::ReturnedValue wrap(QV4::ExecutionEngine *engine, const QLocale &locale); - void registerStringLocaleCompare(QV4::ExecutionEngine *engine); - QV4::ReturnedValue method_localeCompare(const QV4::FunctionObject *, const QV4::Value *thisObject, const QV4::Value *argv, int argc); + Q_QML_PRIVATE_EXPORT QV4::ReturnedValue locale(QV4::ExecutionEngine *engine, const QString &localeName); + Q_QML_PRIVATE_EXPORT QV4::ReturnedValue wrap(QV4::ExecutionEngine *engine, const QLocale &locale); + Q_QML_PRIVATE_EXPORT void registerStringLocaleCompare(QV4::ExecutionEngine *engine); + Q_QML_PRIVATE_EXPORT QV4::ReturnedValue method_localeCompare(const QV4::FunctionObject *, const QV4::Value *thisObject, const QV4::Value *argv, int argc); }; namespace QV4 { |