From be564efb1e37c1444c86388ba807b6bcdba24a09 Mon Sep 17 00:00:00 2001 From: Colin Wallace Date: Mon, 15 Jun 2015 23:41:08 +0000 Subject: [PATCH] Add missing EXPORT directives for new SubWindow class --- include/MainWindow.h | 2 +- include/SubWindow.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/MainWindow.h b/include/MainWindow.h index 6b75a86a5..68c6dc24e 100644 --- a/include/MainWindow.h +++ b/include/MainWindow.h @@ -60,7 +60,7 @@ public: void addSpacingToToolBar( int _size ); // wrap the widget with a window decoration and add it to the workspace - SubWindow* addWindowedWidget(QWidget *w, Qt::WindowFlags windowFlags=0); + EXPORT SubWindow* addWindowedWidget(QWidget *w, Qt::WindowFlags windowFlags=0); /// diff --git a/include/SubWindow.h b/include/SubWindow.h index 75e058584..821e0a762 100644 --- a/include/SubWindow.h +++ b/include/SubWindow.h @@ -32,13 +32,15 @@ #include #include +#include "export.h" + class QMoveEvent; class QResizeEvent; class QWidget; -class SubWindow : public QMdiSubWindow +class EXPORT SubWindow : public QMdiSubWindow { Q_OBJECT public: