# if defined(BUILD_QMLJSDEBUGGER_LIB)
# define QMLJSDEBUGGER_EXPORT Q_DECL_EXPORT
+# define QMLJSDEBUGGER_EXTERN Q_DECL_IMPORT
# elif defined(BUILD_QMLJSDEBUGGER_STATIC_LIB)
# define QMLJSDEBUGGER_EXPORT
+# define QMLJSDEBUGGER_EXTERN Q_DECL_IMPORT
# else
# define QMLJSDEBUGGER_EXPORT Q_DECL_IMPORT
+# define QMLJSDEBUGGER_EXTERN Q_DECL_IMPORT
#endif
#endif // QMLJSDEBUGGER_GLOBAL_H
#ifndef QDECLARATIVEDEBUGHELPER_P_H
#define QDECLARATIVEDEBUGHELPER_P_H
+#include "../qmljsdebugger_global.h"
#include <QtCore/qglobal.h>
QT_BEGIN_HEADER
// Helper methods to access private API through a stable interface
// This is used in the qmljsdebugger library of QtCreator.
-class Q_DECLARATIVE_EXPORT QDeclarativeDebugHelper
+class QMLJSDEBUGGER_EXTERN QDeclarativeDebugHelper
{
public:
static QScriptEngine *getScriptEngine(QDeclarativeEngine *engine);
#ifndef QDECLARATIVEDEBUGSERVICE_H
#define QDECLARATIVEDEBUGSERVICE_H
+#include "../qmljsdebugger_global.h"
#include <QtCore/qobject.h>
QT_BEGIN_HEADER
QT_MODULE(Declarative)
class QDeclarativeDebugServicePrivate;
-class Q_DECLARATIVE_EXPORT QDeclarativeDebugService : public QObject
+class QMLJSDEBUGGER_EXTERN QDeclarativeDebugService : public QObject
{
Q_OBJECT
Q_DECLARE_PRIVATE(QDeclarativeDebugService)
## Input
HEADERS += \
include/jsdebuggeragent.h \
- include/qmljsdebugger_global.h \
- include/qt_private/qdeclarativedebughelper_p.h \
- include/qt_private/qdeclarativedebugservice_p.h
+ include/qmljsdebugger_global.h
SOURCES += \
jsdebuggeragent.cpp