From de645b3ccaa28842879477caa42c862d8da54fda Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Fri, 18 Oct 2019 07:41:28 +0200 Subject: [PATCH] Fixed DLL export of DockAreaTabBar, DockAreaTitleBar and ElidingLabel --- src/DockAreaTabBar.h | 2 +- src/DockAreaTitleBar.h | 2 +- src/ElidingLabel.h | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/DockAreaTabBar.h b/src/DockAreaTabBar.h index 44c6912..0ad1fac 100644 --- a/src/DockAreaTabBar.h +++ b/src/DockAreaTabBar.h @@ -49,7 +49,7 @@ class CFloatingDockContainer; * has not finished. And we need to remove a tab, if the user drags a * a dock widget out of a group of tabbed widgets */ -class CDockAreaTabBar : public QScrollArea +class ADS_EXPORT CDockAreaTabBar : public QScrollArea { Q_OBJECT private: diff --git a/src/DockAreaTitleBar.h b/src/DockAreaTitleBar.h index 8b07d7b..afa9a4c 100644 --- a/src/DockAreaTitleBar.h +++ b/src/DockAreaTitleBar.h @@ -47,7 +47,7 @@ struct DockAreaTitleBarPrivate; * The title bar contains a tabbar with all tabs for a dock widget group and * with a tabs menu button, a undock button and a close button. */ -class CDockAreaTitleBar : public QFrame +class ADS_EXPORT CDockAreaTitleBar : public QFrame { Q_OBJECT private: diff --git a/src/ElidingLabel.h b/src/ElidingLabel.h index c64b99c..b678395 100644 --- a/src/ElidingLabel.h +++ b/src/ElidingLabel.h @@ -31,6 +31,8 @@ //============================================================================ #include +#include "ads_globals.h" + namespace ads { struct ElidingLabelPrivate; @@ -41,7 +43,7 @@ struct ElidingLabelPrivate; * and reading the text via a pointer to the base class QLabel does not work * properly */ -class CElidingLabel : public QLabel +class ADS_EXPORT CElidingLabel : public QLabel { Q_OBJECT private: