QmlProfiler: Fix EXPORT macro logic

Technically not needed (we don't export anything), but fixing it anyway...

Change-Id: Ie8017eb1eff427b293c5a993165aa1163e5504df
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Kai Koehne
2012-09-13 11:11:03 +02:00
parent 2fee7f8105
commit aafac06a24
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
TEMPLATE = lib
TARGET = QmlProfiler
DEFINES += PROFILER_LIBRARY
DEFINES += QMLPROFILER_LIBRARY
QT += network script
greaterThan(QT_MAJOR_VERSION, 4) {

View File

@@ -33,10 +33,10 @@
#include <QtGlobal>
#if defined(QMLPROFILERPLUGIN_LIBRARY)
# define QMLPROFILERPLUGINSHARED_EXPORT Q_DECL_EXPORT
#if defined(QMLPROFILER_LIBRARY)
# define QMLPROFILER_EXPORT Q_DECL_EXPORT
#else
# define QMLPROFILERPLUGINSHARED_EXPORT Q_DECL_IMPORT
# define QMLPROFILER_EXPORT Q_DECL_IMPORT
#endif
#endif // QMLPROFILER_GLOBAL_H