aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-07-02 14:00:49 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-07-02 15:57:24 +0200
commit7fbc257a5a187ca752165e28401d77effb945710 (patch)
tree2ecfce8c1e89597a9352b09615d6c41cc0ec9af8 /src/qml/compiler
parentbe87f2ad652b1add55bb5ffe4f654416fc41ebb1 (diff)
Export QV4::Moth::ByteCodeHandler
We need it in libQt6QmlCompiler. Change-Id: I0582d8fda2f8cb952f04490be86408b502a13960 Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/qml/compiler')
-rw-r--r--src/qml/compiler/qv4bytecodehandler_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4bytecodehandler_p.h b/src/qml/compiler/qv4bytecodehandler_p.h
index c9ceb7ddce..fcc88d4f86 100644
--- a/src/qml/compiler/qv4bytecodehandler_p.h
+++ b/src/qml/compiler/qv4bytecodehandler_p.h
@@ -50,6 +50,8 @@
//
// We mean it.
//
+
+#include <private/qtqmlcompilerglobal_p.h>
#include <private/qv4instr_moth_p.h>
QT_BEGIN_NAMESPACE
@@ -90,7 +92,7 @@ namespace Moth {
#define BYTECODE_HANDLER_DEFINE_VIRTUAL_BYTECODE_HANDLER(instr) \
INSTR_##instr(BYTECODE_HANDLER_DEFINE_VIRTUAL_BYTECODE_HANDLER)
-class ByteCodeHandler
+class Q_QMLCOMPILER_PRIVATE_EXPORT ByteCodeHandler
{
public:
virtual ~ByteCodeHandler();