From: Friedemann Kleint Date: Wed, 8 May 2013 08:29:17 +0000 (+0200) Subject: Fix MSVC-warning about inconsistent DLL-linkage. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=5af870b2459afc9cc934d9e79e80e2e49ff75049;p=konrad%2Fqtdeclarative.git Fix MSVC-warning about inconsistent DLL-linkage. Introduced by 9b5a55101d7c519446c1cf3706a235dea81ad4de . Task-Number: QTBUG-28572 Change-Id: I5e7d012d22c701b2b15ab288d2c72f177caf904e Reviewed-by: Christopher Adams --- diff --git a/src/qml/qml/qqmlmetatype_p.h b/src/qml/qml/qqmlmetatype_p.h index 12901e8..f522812 100644 --- a/src/qml/qml/qqmlmetatype_p.h +++ b/src/qml/qml/qqmlmetatype_p.h @@ -231,7 +231,7 @@ private: friend int registerSingletonType(const QQmlPrivate::RegisterSingletonType &); friend int registerInterface(const QQmlPrivate::RegisterInterface &); friend int registerCompositeType(const QQmlPrivate::RegisterCompositeType &); - friend void qmlClearTypeRegistrations(); + friend Q_QML_EXPORT void qmlClearTypeRegistrations(); QQmlType(int, const QQmlPrivate::RegisterInterface &); QQmlType(int, const QString &, const QQmlPrivate::RegisterSingletonType &); QQmlType(int, const QString &, const QQmlPrivate::RegisterType &); @@ -260,7 +260,7 @@ private: //Used by register functions and creates the QQmlTypeModule for them friend void addTypeToData(QQmlType* type, QQmlMetaTypeData *data); friend struct QQmlMetaTypeData; - friend void qmlClearTypeRegistrations(); + friend Q_QML_EXPORT void qmlClearTypeRegistrations(); QQmlTypeModule(); ~QQmlTypeModule();