diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 08:36:28 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-11-01 08:49:12 +0100 |
commit | cc16fd0121fe79ae1fd9539a606c19827f64bc23 (patch) | |
tree | d141902716ea4b8e563d9e708c3e99671d791f40 /pose-widget | |
parent | 73921613ddddc8d1f8e0caed21ab8dd490a74eb1 (diff) |
use newly-added preprocessor variable
Diffstat (limited to 'pose-widget')
-rw-r--r-- | pose-widget/glwidget.h | 9 |
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; |