diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-30 20:48:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-30 20:48:09 +0200 |
commit | c64c3c69dfed2d5d2af7b72b0489f52b28f854a8 (patch) | |
tree | 1c6995ca16437f7deaa1e4a6be88ea3f009ec328 /qxt-mini/qxtglobal.h | |
parent | f018bf4beeb15f346177dcee2b9e1a023627e7c4 (diff) |
qxt-mini: fix numpad handling
Diffstat (limited to 'qxt-mini/qxtglobal.h')
-rw-r--r-- | qxt-mini/qxtglobal.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/qxt-mini/qxtglobal.h b/qxt-mini/qxtglobal.h index 6446b0ee..5ac72fb7 100644 --- a/qxt-mini/qxtglobal.h +++ b/qxt-mini/qxtglobal.h @@ -53,10 +53,18 @@ #ifdef BUILD_qxt_mini # define QXT_BUILD -# define BUILD_QXT_GUI -# define BUILD_QXT #endif +#if !defined(QXT_STATIC) && !defined(QXT_DOXYGEN_RUN) +# if defined(BUILD_QXT_GUI) +# define QXT_EXPORT Q_DECL_EXPORT +# else +# define QXT_EXPORT Q_DECL_IMPORT +# endif +#else +# define QXT_EXPORT +#endif // BUILD_QXT_GUI + #ifdef QXT_BUILD # if defined(BUILD_QXT_CORE) # define QXT_CORE_EXPORT Q_DECL_EXPORT |