diff --git a/src/plugins/qmlprofiler/qmlprofiler.pro b/src/plugins/qmlprofiler/qmlprofiler.pro index 8c98eb2c532..e4c848e312f 100644 --- a/src/plugins/qmlprofiler/qmlprofiler.pro +++ b/src/plugins/qmlprofiler/qmlprofiler.pro @@ -1,7 +1,7 @@ TEMPLATE = lib TARGET = QmlProfiler -DEFINES += PROFILER_LIBRARY +DEFINES += QMLPROFILER_LIBRARY QT += network script greaterThan(QT_MAJOR_VERSION, 4) { diff --git a/src/plugins/qmlprofiler/qmlprofiler_global.h b/src/plugins/qmlprofiler/qmlprofiler_global.h index 9787f0534f8..2b0ac5edecb 100644 --- a/src/plugins/qmlprofiler/qmlprofiler_global.h +++ b/src/plugins/qmlprofiler/qmlprofiler_global.h @@ -33,10 +33,10 @@ #include -#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