diff options
Diffstat (limited to 'src/plugins/hunspell')
5 files changed, 6 insertions, 17 deletions
diff --git a/src/plugins/hunspell/hunspellinputmethod/CMakeLists.txt b/src/plugins/hunspell/hunspellinputmethod/CMakeLists.txt index 70ca45fa..78d9e80c 100644 --- a/src/plugins/hunspell/hunspellinputmethod/CMakeLists.txt +++ b/src/plugins/hunspell/hunspellinputmethod/CMakeLists.txt @@ -21,6 +21,8 @@ qt_internal_add_module(HunspellInputMethodPrivate Qt::Core Qt::Gui Qt::VirtualKeyboardPrivate + GENERATE_CPP_EXPORTS + GENERATE_PRIVATE_CPP_EXPORTS ) #### Keys ignored in scope 1:.:.:hunspellinputmethod.pro:<TRUE>: diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h index a0f53710..6144536f 100644 --- a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h +++ b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h @@ -50,7 +50,7 @@ namespace QtVirtualKeyboard { class HunspellInputMethodPrivate; class HunspellWordList; -class QHUNSPELLINPUTMETHOD_EXPORT HunspellInputMethod : public QVirtualKeyboardAbstractInputMethod +class Q_HUNSPELLINPUTMETHOD_EXPORT HunspellInputMethod : public QVirtualKeyboardAbstractInputMethod { Q_OBJECT Q_DECLARE_PRIVATE(HunspellInputMethod) diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p_p.h b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p_p.h index 2e604350..763a8c43 100644 --- a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p_p.h +++ b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p_p.h @@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE namespace QtVirtualKeyboard { -class QHUNSPELLINPUTMETHOD_EXPORT HunspellInputMethodPrivate +class Q_HUNSPELLINPUTMETHOD_EXPORT HunspellInputMethodPrivate { Q_DECLARE_PUBLIC(HunspellInputMethod) diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h b/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h index de43a035..187f9f70 100644 --- a/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h +++ b/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h @@ -59,7 +59,7 @@ namespace QtVirtualKeyboard { Q_DECLARE_LOGGING_CATEGORY(lcHunspell) -class QHUNSPELLINPUTMETHOD_EXPORT HunspellWordList +class Q_HUNSPELLINPUTMETHOD_EXPORT HunspellWordList { public: enum Flag diff --git a/src/plugins/hunspell/hunspellinputmethod/qhunspellinputmethod_global.h b/src/plugins/hunspell/hunspellinputmethod/qhunspellinputmethod_global.h index 9a548c92..08b20c0e 100644 --- a/src/plugins/hunspell/hunspellinputmethod/qhunspellinputmethod_global.h +++ b/src/plugins/hunspell/hunspellinputmethod/qhunspellinputmethod_global.h @@ -31,19 +31,6 @@ #define QHUNSPELLINPUTMETHOD_GLOBAL_H #include <QtCore/qglobal.h> - -QT_BEGIN_NAMESPACE - -#ifndef QT_STATIC -# if defined(QHUNSPELLINPUTMETHOD_LIBRARY) -# define QHUNSPELLINPUTMETHOD_EXPORT Q_DECL_EXPORT -# else -# define QHUNSPELLINPUTMETHOD_EXPORT Q_DECL_IMPORT -# endif -#else -# define QHUNSPELLINPUTMETHOD_EXPORT -#endif - -QT_END_NAMESPACE +#include <QtHunspellInputMethod/qthunspellinputmethodexports.h> #endif |