Browse Source

fix import/export macros

master
Skycoder42 6 years ago
parent
commit
8d35ee058f
No known key found for this signature in database GPG Key ID: 8E01AD9EF0578D2B
  1. 10
      src/mvvmcore/qtmvvmcore_global.h
  2. 10
      src/mvvmdatasynccore/qtmvvmdatasynccore_global.h
  3. 10
      src/mvvmdatasyncquick/qtmvvmdatasyncquick_global.h
  4. 10
      src/mvvmdatasyncwidgets/qtmvvmdatasyncwidgets_global.h
  5. 10
      src/mvvmquick/qtmvvmquick_global.h
  6. 10
      src/mvvmwidgets/qtmvvmwidgets_global.h

10
src/mvvmcore/qtmvvmcore_global.h

@ -5,10 +5,14 @@
#include "qtmvvmcore_helpertypes.h"
#if defined(QT_BUILD_MVVMCORE_LIB)
# define Q_MVVMCORE_EXPORT Q_DECL_EXPORT
#ifndef QT_STATIC
# if defined(QT_BUILD_MVVMCORE_LIB)
# define Q_MVVMCORE_EXPORT Q_DECL_EXPORT
# else
# define Q_MVVMCORE_EXPORT Q_DECL_IMPORT
# endif
#else
# define Q_MVVMCORE_EXPORT Q_DECL_IMPORT
# define Q_MVVMCORE_EXPORT
#endif
#ifndef QTMVVM_REVISION_1

10
src/mvvmdatasynccore/qtmvvmdatasynccore_global.h

@ -3,10 +3,14 @@
#include <QtCore/qglobal.h>
#if defined(QT_BUILD_MVVMDATASYNCCORE_LIB)
# define Q_MVVMDATASYNCCORE_EXPORT Q_DECL_EXPORT
#ifndef QT_STATIC
# if defined(QT_BUILD_MVVMDATASYNCCORE_LIB)
# define Q_MVVMDATASYNCCORE_EXPORT Q_DECL_EXPORT
# else
# define Q_MVVMDATASYNCCORE_EXPORT Q_DECL_IMPORT
# endif
#else
# define Q_MVVMDATASYNCCORE_EXPORT Q_DECL_IMPORT
# define Q_MVVMDATASYNCCORE_EXPORT
#endif
#endif // QTMVVMDATASYNCCORE_GLOBAL_H

10
src/mvvmdatasyncquick/qtmvvmdatasyncquick_global.h

@ -3,10 +3,14 @@
#include <QtCore/qglobal.h>
#if defined(QT_BUILD_MVVMDATASYNCQUICK_LIB)
# define Q_MVVMDATASYNCQUICK_EXPORT Q_DECL_EXPORT
#ifndef QT_STATIC
# if defined(QT_BUILD_MVVMDATASYNCQUICK_LIB)
# define Q_MVVMDATASYNCQUICK_EXPORT Q_DECL_EXPORT
# else
# define Q_MVVMDATASYNCQUICK_EXPORT Q_DECL_IMPORT
# endif
#else
# define Q_MVVMDATASYNCQUICK_EXPORT Q_DECL_IMPORT
# define Q_MVVMDATASYNCQUICK_EXPORT
#endif
namespace QtMvvm {

10
src/mvvmdatasyncwidgets/qtmvvmdatasyncwidgets_global.h

@ -3,10 +3,14 @@
#include <QtCore/qglobal.h>
#if defined(QT_BUILD_MVVMDATASYNCWIDGETS_LIB)
# define Q_MVVMDATASYNCWIDGETS_EXPORT Q_DECL_EXPORT
#ifndef QT_STATIC
# if defined(QT_BUILD_MVVMDATASYNCWIDGETS_LIB)
# define Q_MVVMDATASYNCWIDGETS_EXPORT Q_DECL_EXPORT
# else
# define Q_MVVMDATASYNCWIDGETS_EXPORT Q_DECL_IMPORT
# endif
#else
# define Q_MVVMDATASYNCWIDGETS_EXPORT Q_DECL_IMPORT
# define Q_MVVMDATASYNCWIDGETS_EXPORT
#endif
namespace QtMvvm {

10
src/mvvmquick/qtmvvmquick_global.h

@ -3,10 +3,14 @@
#include <QtCore/qglobal.h>
#if defined(QT_BUILD_MVVMQUICK_LIB)
# define Q_MVVMQUICK_EXPORT Q_DECL_EXPORT
#ifndef QT_STATIC
# if defined(QT_BUILD_MVVMQUICK_LIB)
# define Q_MVVMQUICK_EXPORT Q_DECL_EXPORT
# else
# define Q_MVVMQUICK_EXPORT Q_DECL_IMPORT
# endif
#else
# define Q_MVVMQUICK_EXPORT Q_DECL_IMPORT
# define Q_MVVMQUICK_EXPORT
#endif
#endif // QTMVVMQUICK_GLOBAL_H

10
src/mvvmwidgets/qtmvvmwidgets_global.h

@ -3,10 +3,14 @@
#include <QtCore/qglobal.h>
#if defined(QT_BUILD_MVVMWIDGETS_LIB)
# define Q_MVVMWIDGETS_EXPORT Q_DECL_EXPORT
#ifndef QT_STATIC
# if defined(QT_BUILD_MVVMWIDGETS_LIB)
# define Q_MVVMWIDGETS_EXPORT Q_DECL_EXPORT
# else
# define Q_MVVMWIDGETS_EXPORT Q_DECL_IMPORT
# endif
#else
# define Q_MVVMWIDGETS_EXPORT Q_DECL_IMPORT
# define Q_MVVMWIDGETS_EXPORT
#endif
#endif // QTMVVMWIDGETS_GLOBAL_H

Loading…
Cancel
Save