From a638c252527cd5f819d6c934d94c5965616864a2 Mon Sep 17 00:00:00 2001 From: Michael Winkelmann Date: Wed, 19 Aug 2020 11:10:55 +0200 Subject: [PATCH] Annotation: Add export macros Change-Id: Ieebc2750462bc6266e11318ea96c031b2ea6ef9f Reviewed-by: Aleksei German Reviewed-by: Thomas Hartmann --- src/plugins/qmldesigner/designercore/include/annotation.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/qmldesigner/designercore/include/annotation.h b/src/plugins/qmldesigner/designercore/include/annotation.h index b1462c7846b..681c5ee0236 100644 --- a/src/plugins/qmldesigner/designercore/include/annotation.h +++ b/src/plugins/qmldesigner/designercore/include/annotation.h @@ -29,6 +29,7 @@ #include #include +#include "qmldesignercorelib_global.h" #include "nodeinstanceglobal.h" namespace QmlDesigner { @@ -38,7 +39,7 @@ static const PropertyName annotationProperty = {("annotation")}; static const PropertyName globalAnnotationProperty = {("globalAnnotation")}; static const PropertyName globalAnnotationStatus = {("globalAnnotationStatus")}; -class GlobalAnnotationStatus +class QMLDESIGNERCORE_EXPORT GlobalAnnotationStatus { public: enum Status { @@ -64,7 +65,7 @@ private: Status m_status; }; -class Comment +class QMLDESIGNERCORE_EXPORT Comment { public: Comment(); @@ -109,7 +110,7 @@ private: qint64 m_timestamp; }; -class Annotation +class QMLDESIGNERCORE_EXPORT Annotation { public: Annotation();