summaryrefslogtreecommitdiffhomepage
path: root/pose-widget
diff options
context:
space:
mode:
Diffstat (limited to 'pose-widget')
-rw-r--r--pose-widget/glwidget.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/pose-widget/glwidget.h b/pose-widget/glwidget.h
index 81517399..fca3502d 100644
--- a/pose-widget/glwidget.h
+++ b/pose-widget/glwidget.h
@@ -7,12 +7,19 @@
#pragma once
+#include <QtGlobal>
#include <QWidget>
#include <QPixmap>
#include "opentrack/plugin-api.hpp"
#include "opentrack/simple-mat.hpp"
-class GLWidget : public QWidget
+#ifdef BUILD_opentrack_pose_widget
+# define POSE_WIDGET_EXPORT Q_DECL_EXPORT
+#else
+# define POSE_WIDGET_EXPORT Q_DECL_IMPORT
+#endif
+
+class POSE_WIDGET_EXPORT GLWidget : public QWidget
{
public:
using num = float;