Update the export macros in qtmultimedia.git
Use the new, simpler QT_STATIC macro. Change-Id: Ia3271a437ed76f54971444f6e73e54dbc416d483 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
d18eadc8ab
commit
940f14c3b6
@@ -57,30 +57,14 @@
|
||||
|
||||
QT_BEGIN_HEADER
|
||||
|
||||
#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
|
||||
#ifndef QT_STATIC
|
||||
# if defined(QT_BUILD_MULTIMEDIA_LIB)
|
||||
# define Q_MULTIMEDIA_EXPORT Q_DECL_EXPORT
|
||||
# else
|
||||
# define Q_MULTIMEDIA_EXPORT Q_DECL_IMPORT
|
||||
# endif
|
||||
# elif defined(QT_DLL) /* use a Qt DLL library */
|
||||
# define Q_MULTIMEDIA_EXPORT Q_DECL_IMPORT
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if !defined(Q_MULTIMEDIA_EXPORT)
|
||||
# if defined(QT_SHARED)
|
||||
# define Q_MULTIMEDIA_EXPORT Q_DECL_EXPORT
|
||||
# else
|
||||
#else
|
||||
# define Q_MULTIMEDIA_EXPORT
|
||||
# endif
|
||||
#endif
|
||||
|
||||
QT_END_HEADER
|
||||
|
||||
Reference in New Issue
Block a user