forked from qt-creator/qt-creator
QmlJSDebugger: Fix linkage error
Make sure that the private API used from Qt is compiled with Q_DECL_IMPORT. Task-number: QTCREATORBUG-2609
This commit is contained in:
@@ -34,10 +34,13 @@
|
||||
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user