aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/parser
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-06-20 15:48:59 -0700
committerJake Petroules <jake.petroules@qt.io>2017-06-22 09:02:49 +0000
commit16432be9afc39372b7c35a4fb2929b5835c067e0 (patch)
treee1a7231c6e6abc267e898105fdb67e84ab0040ee /src/lib/corelib/parser
parentdfe13cd2180db68877eb9f72f8115d54b9efa644 (diff)
Move the buildgraph, language and tools tests into the proper locations
Also export necessary symbols that they need. Change-Id: I3023893a3da82cf0d86b0d08df38943db867cf3a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/parser')
-rw-r--r--src/lib/corelib/parser/qmljsastvisitor_p.h3
-rw-r--r--src/lib/corelib/parser/qmljsengine_p.h3
-rw-r--r--src/lib/corelib/parser/qmljslexer_p.h3
-rw-r--r--src/lib/corelib/parser/qmljsparser_p.h3
4 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/corelib/parser/qmljsastvisitor_p.h b/src/lib/corelib/parser/qmljsastvisitor_p.h
index f0eff5ce7..aa4471c6b 100644
--- a/src/lib/corelib/parser/qmljsastvisitor_p.h
+++ b/src/lib/corelib/parser/qmljsastvisitor_p.h
@@ -53,11 +53,12 @@
#include "qmljsastfwd_p.h"
#include "qmljsglobal_p.h"
+#include <tools/qbs_export.h>
namespace QbsQmlJS {
namespace AST {
-class QML_PARSER_EXPORT Visitor
+class QML_PARSER_EXPORT QBS_AUTOTEST_EXPORT Visitor
{
public:
Visitor();
diff --git a/src/lib/corelib/parser/qmljsengine_p.h b/src/lib/corelib/parser/qmljsengine_p.h
index be88b917b..2fdd60b30 100644
--- a/src/lib/corelib/parser/qmljsengine_p.h
+++ b/src/lib/corelib/parser/qmljsengine_p.h
@@ -54,6 +54,7 @@
#include "qmljsglobal_p.h"
#include "qmljsastfwd_p.h"
#include "qmljsmemorypool_p.h"
+#include <tools/qbs_export.h>
#include <QtCore/qstring.h>
@@ -87,7 +88,7 @@ public:
QString message;
};
-class QML_PARSER_EXPORT Engine
+class QML_PARSER_EXPORT QBS_AUTOTEST_EXPORT Engine
{
Lexer *_lexer;
Directives *_directives;
diff --git a/src/lib/corelib/parser/qmljslexer_p.h b/src/lib/corelib/parser/qmljslexer_p.h
index 7a77ddabe..e0d61b226 100644
--- a/src/lib/corelib/parser/qmljslexer_p.h
+++ b/src/lib/corelib/parser/qmljslexer_p.h
@@ -53,6 +53,7 @@
#include "qmljsglobal_p.h"
#include "qmljsgrammar_p.h"
+#include <tools/qbs_export.h>
#include <QtCore/qstring.h>
namespace QbsQmlJS {
@@ -81,7 +82,7 @@ public:
}
};
-class QML_PARSER_EXPORT Lexer: public QmlJSGrammar
+class QML_PARSER_EXPORT QBS_AUTOTEST_EXPORT Lexer: public QmlJSGrammar
{
public:
enum {
diff --git a/src/lib/corelib/parser/qmljsparser_p.h b/src/lib/corelib/parser/qmljsparser_p.h
index 93c096367..38fc1f5ce 100644
--- a/src/lib/corelib/parser/qmljsparser_p.h
+++ b/src/lib/corelib/parser/qmljsparser_p.h
@@ -61,6 +61,7 @@
#include "qmljsgrammar_p.h"
#include "qmljsast_p.h"
#include "qmljsengine_p.h"
+#include <tools/qbs_export.h>
#include <QtCore/qlist.h>
#include <QtCore/qstring.h>
@@ -69,7 +70,7 @@ namespace QbsQmlJS {
class Engine;
-class QML_PARSER_EXPORT Parser: protected QmlJSGrammar
+class QML_PARSER_EXPORT QBS_AUTOTEST_EXPORT Parser: protected QmlJSGrammar
{
public:
union Value {