summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsharedmemory/lackey/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qsharedmemory/lackey/main.cpp')
-rw-r--r--tests/auto/qsharedmemory/lackey/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qsharedmemory/lackey/main.cpp b/tests/auto/qsharedmemory/lackey/main.cpp
index 5a5bf5e..fef8d22 100644
--- a/tests/auto/qsharedmemory/lackey/main.cpp
+++ b/tests/auto/qsharedmemory/lackey/main.cpp
@@ -242,9 +242,11 @@ private:
QSharedMemory sm;
};
+QT_BEGIN_NAMESPACE
Q_SCRIPT_DECLARE_QMETAOBJECT(ScriptSharedMemory, QObject*);
Q_SCRIPT_DECLARE_QMETAOBJECT(ScriptSystemLock, QObject*);
Q_SCRIPT_DECLARE_QMETAOBJECT(ScriptSystemSemaphore, QObject*);
+QT_END_NAMESPACE
static void interactive(QScriptEngine &eng)
{