This repository was archived by the owner on Mar 4, 2023. It is now read-only.
File tree 6 files changed +42
-18
lines changed
6 files changed +42
-18
lines changed Original file line number Diff line number Diff line change 5
5
6
6
#include "qtmvvmcore_helpertypes.h"
7
7
8
- #if defined(QT_BUILD_MVVMCORE_LIB )
9
- # define Q_MVVMCORE_EXPORT Q_DECL_EXPORT
8
+ #ifndef QT_STATIC
9
+ # if defined(QT_BUILD_MVVMCORE_LIB )
10
+ # define Q_MVVMCORE_EXPORT Q_DECL_EXPORT
11
+ # else
12
+ # define Q_MVVMCORE_EXPORT Q_DECL_IMPORT
13
+ # endif
10
14
#else
11
- # define Q_MVVMCORE_EXPORT Q_DECL_IMPORT
15
+ # define Q_MVVMCORE_EXPORT
12
16
#endif
13
17
14
18
#ifndef QTMVVM_REVISION_1
Original file line number Diff line number Diff line change 3
3
4
4
#include <QtCore/qglobal.h>
5
5
6
- #if defined(QT_BUILD_MVVMDATASYNCCORE_LIB )
7
- # define Q_MVVMDATASYNCCORE_EXPORT Q_DECL_EXPORT
6
+ #ifndef QT_STATIC
7
+ # if defined(QT_BUILD_MVVMDATASYNCCORE_LIB )
8
+ # define Q_MVVMDATASYNCCORE_EXPORT Q_DECL_EXPORT
9
+ # else
10
+ # define Q_MVVMDATASYNCCORE_EXPORT Q_DECL_IMPORT
11
+ # endif
8
12
#else
9
- # define Q_MVVMDATASYNCCORE_EXPORT Q_DECL_IMPORT
13
+ # define Q_MVVMDATASYNCCORE_EXPORT
10
14
#endif
11
15
12
16
#endif // QTMVVMDATASYNCCORE_GLOBAL_H
Original file line number Diff line number Diff line change 3
3
4
4
#include < QtCore/qglobal.h>
5
5
6
- #if defined(QT_BUILD_MVVMDATASYNCQUICK_LIB)
7
- # define Q_MVVMDATASYNCQUICK_EXPORT Q_DECL_EXPORT
6
+ #ifndef QT_STATIC
7
+ # if defined(QT_BUILD_MVVMDATASYNCQUICK_LIB)
8
+ # define Q_MVVMDATASYNCQUICK_EXPORT Q_DECL_EXPORT
9
+ # else
10
+ # define Q_MVVMDATASYNCQUICK_EXPORT Q_DECL_IMPORT
11
+ # endif
8
12
#else
9
- # define Q_MVVMDATASYNCQUICK_EXPORT Q_DECL_IMPORT
13
+ # define Q_MVVMDATASYNCQUICK_EXPORT
10
14
#endif
11
15
12
16
namespace QtMvvm {
Original file line number Diff line number Diff line change 3
3
4
4
#include < QtCore/qglobal.h>
5
5
6
- #if defined(QT_BUILD_MVVMDATASYNCWIDGETS_LIB)
7
- # define Q_MVVMDATASYNCWIDGETS_EXPORT Q_DECL_EXPORT
6
+ #ifndef QT_STATIC
7
+ # if defined(QT_BUILD_MVVMDATASYNCWIDGETS_LIB)
8
+ # define Q_MVVMDATASYNCWIDGETS_EXPORT Q_DECL_EXPORT
9
+ # else
10
+ # define Q_MVVMDATASYNCWIDGETS_EXPORT Q_DECL_IMPORT
11
+ # endif
8
12
#else
9
- # define Q_MVVMDATASYNCWIDGETS_EXPORT Q_DECL_IMPORT
13
+ # define Q_MVVMDATASYNCWIDGETS_EXPORT
10
14
#endif
11
15
12
16
namespace QtMvvm {
Original file line number Diff line number Diff line change 3
3
4
4
#include <QtCore/qglobal.h>
5
5
6
- #if defined(QT_BUILD_MVVMQUICK_LIB )
7
- # define Q_MVVMQUICK_EXPORT Q_DECL_EXPORT
6
+ #ifndef QT_STATIC
7
+ # if defined(QT_BUILD_MVVMQUICK_LIB )
8
+ # define Q_MVVMQUICK_EXPORT Q_DECL_EXPORT
9
+ # else
10
+ # define Q_MVVMQUICK_EXPORT Q_DECL_IMPORT
11
+ # endif
8
12
#else
9
- # define Q_MVVMQUICK_EXPORT Q_DECL_IMPORT
13
+ # define Q_MVVMQUICK_EXPORT
10
14
#endif
11
15
12
16
#endif // QTMVVMQUICK_GLOBAL_H
Original file line number Diff line number Diff line change 3
3
4
4
#include <QtCore/qglobal.h>
5
5
6
- #if defined(QT_BUILD_MVVMWIDGETS_LIB )
7
- # define Q_MVVMWIDGETS_EXPORT Q_DECL_EXPORT
6
+ #ifndef QT_STATIC
7
+ # if defined(QT_BUILD_MVVMWIDGETS_LIB )
8
+ # define Q_MVVMWIDGETS_EXPORT Q_DECL_EXPORT
9
+ # else
10
+ # define Q_MVVMWIDGETS_EXPORT Q_DECL_IMPORT
11
+ # endif
8
12
#else
9
- # define Q_MVVMWIDGETS_EXPORT Q_DECL_IMPORT
13
+ # define Q_MVVMWIDGETS_EXPORT
10
14
#endif
11
15
12
16
#endif // QTMVVMWIDGETS_GLOBAL_H
You can’t perform that action at this time.
0 commit comments