Update the export macros in qtfeedback.git

Use the new, simpler QT_STATIC macro.

Change-Id: Idb0791760ccdbd0ba692d00b033209a4cbab365f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Thiago Macieira 2012-06-22 11:02:29 +02:00 committed by Qt by Nokia
parent f4439886f1
commit 57aa2f0a11
1 changed files with 5 additions and 21 deletions

View File

@ -44,30 +44,14 @@
#include <QtCore/qglobal.h>
#if defined(Q_OS_WIN)
# if defined(QT_NODLL)
# undef QT_MAKEDLL
# undef QT_DLL
# elif defined(QT_MAKEDLL)
# if defined(QT_DLL)
# undef QT_DLL
# endif
# if defined(QT_BUILD_FEEDBACK_LIB)
# define Q_FEEDBACK_EXPORT Q_DECL_EXPORT
# else
# define Q_FEEDBACK_EXPORT Q_DECL_IMPORT
# endif
# elif defined(QT_DLL)
# define Q_FEEDBACK_EXPORT Q_DECL_IMPORT
# endif
#endif
#if !defined(Q_FEEDBACK_EXPORT)
# if defined(QT_SHARED)
#ifndef QT_STATIC
# if defined(QT_BUILD_FEEDBACK_LIB)
# define Q_FEEDBACK_EXPORT Q_DECL_EXPORT
# else
# define Q_FEEDBACK_EXPORT
# define Q_FEEDBACK_EXPORT Q_DECL_IMPORT
# endif
#else
# define Q_FEEDBACK_EXPORT
#endif
#endif // QFEEDBACKGLOBAL_H