diff --git a/GUI/coregui/Views/AccordionWidget/AccordionWidget.h b/GUI/coregui/Views/AccordionWidget/AccordionWidget.h index 3445b673b4a6925c14adff222430d70de523d198..46a632c1e6d6d8194dd049bd9cb42f1da626843d 100644 --- a/GUI/coregui/Views/AccordionWidget/AccordionWidget.h +++ b/GUI/coregui/Views/AccordionWidget/AccordionWidget.h @@ -34,6 +34,7 @@ #include "ContentPane.h" +#include "WinDllMacros.h" class ContentPane; @@ -64,7 +65,7 @@ class ContentPane; * Currently Headers have to be unique * */ -class __attribute__((visibility("default"))) AccordionWidget : public QWidget +class BA_CORE_API_ AccordionWidget : public QWidget { Q_OBJECT public: diff --git a/GUI/coregui/Views/AccordionWidget/ClickableFrame.h b/GUI/coregui/Views/AccordionWidget/ClickableFrame.h index 9d467ab6d18d41a2a39d0af40fb5d3518e3a0515..b7a0a8b4ffcc524b181689ba87dccc7e861a665f 100644 --- a/GUI/coregui/Views/AccordionWidget/ClickableFrame.h +++ b/GUI/coregui/Views/AccordionWidget/ClickableFrame.h @@ -17,6 +17,7 @@ #ifndef CLICKABLEFRAME_H #define CLICKABLEFRAME_H +#include "WinDllMacros.h" #include <QFrame> #include <QMouseEvent> #include <QString> @@ -44,7 +45,7 @@ const char *const CARRET_ICON_OPENED = ":/qAccordionIcons/caret-bottom.png"; /** * This class represents a clickable QFrame. It is used by a ContentPane. The class * is used internally. */ -class __attribute__((visibility("default"))) ClickableFrame : public QFrame +class BA_CORE_API_ ClickableFrame : public QFrame { Q_OBJECT diff --git a/GUI/coregui/Views/AccordionWidget/ContentPane.h b/GUI/coregui/Views/AccordionWidget/ContentPane.h index 704c7ce5baca88ec240797c01e8a0c3150843b90..9010e8cccbed15bffca3dc07d38eb83cc5f0e1fa 100644 --- a/GUI/coregui/Views/AccordionWidget/ContentPane.h +++ b/GUI/coregui/Views/AccordionWidget/ContentPane.h @@ -28,6 +28,7 @@ #include <memory> +#include "WinDllMacros.h" #include "ClickableFrame.h" #include "AccordionWidget.h" @@ -61,7 +62,7 @@ * @details * The animation speed is influenceable setAnimationDuration(). */ -class __attribute__((visibility("default"))) ContentPane : public QWidget +class BA_CORE_API_ ContentPane : public QWidget { Q_OBJECT public: