summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlocalsocket/lackey/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qlocalsocket/lackey/main.cpp')
-rw-r--r--tests/auto/qlocalsocket/lackey/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qlocalsocket/lackey/main.cpp b/tests/auto/qlocalsocket/lackey/main.cpp
index 0f1930c..1bba4f8 100644
--- a/tests/auto/qlocalsocket/lackey/main.cpp
+++ b/tests/auto/qlocalsocket/lackey/main.cpp
@@ -172,8 +172,10 @@ static int _q_ScriptRegisterQObjectMetaType(QScriptEngine *engine, const QScript
return qScriptRegisterMetaType<T*>(engine, _q_ScriptValueFromQObject<T>, _q_ScriptValueToQObject<T>, prototype);
}
+QT_BEGIN_NAMESPACE
Q_SCRIPT_DECLARE_QMETAOBJECT(QScriptLocalSocket, QObject*);
Q_SCRIPT_DECLARE_QMETAOBJECT(QScriptLocalServer, QObject*);
+QT_END_NAMESPACE
static void interactive(QScriptEngine &eng)
{