forked from qt-creator/qt-creator
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:
@@ -1,7 +1,7 @@
|
|||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = QmlProfiler
|
TARGET = QmlProfiler
|
||||||
|
|
||||||
DEFINES += PROFILER_LIBRARY
|
DEFINES += QMLPROFILER_LIBRARY
|
||||||
|
|
||||||
QT += network script
|
QT += network script
|
||||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
|||||||
@@ -33,10 +33,10 @@
|
|||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
#if defined(QMLPROFILERPLUGIN_LIBRARY)
|
#if defined(QMLPROFILER_LIBRARY)
|
||||||
# define QMLPROFILERPLUGINSHARED_EXPORT Q_DECL_EXPORT
|
# define QMLPROFILER_EXPORT Q_DECL_EXPORT
|
||||||
#else
|
#else
|
||||||
# define QMLPROFILERPLUGINSHARED_EXPORT Q_DECL_IMPORT
|
# define QMLPROFILER_EXPORT Q_DECL_IMPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // QMLPROFILER_GLOBAL_H
|
#endif // QMLPROFILER_GLOBAL_H
|
||||||
|
|||||||
Reference in New Issue
Block a user