aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-05-08 10:29:17 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-09 19:27:46 +0200
commit5af870b2459afc9cc934d9e79e80e2e49ff75049 (patch)
tree1c58815512222bb238ae0107c1bd472001e0c83e /src/qml
parent98229432d781253201699a04e606414767d5f2e6 (diff)
Fix MSVC-warning about inconsistent DLL-linkage.
Introduced by 9b5a55101d7c519446c1cf3706a235dea81ad4de . Task-Number: QTBUG-28572 Change-Id: I5e7d012d22c701b2b15ab288d2c72f177caf904e Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Diffstat (limited to 'src/qml')
-rw-r--r--src/qml/qml/qqmlmetatype_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlmetatype_p.h b/src/qml/qml/qqmlmetatype_p.h
index 12901e8c58..f522812398 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();