diff -r dee5afe5301f -r 3f74d0d4af4c tests/auto/qlocalsocket/lackey/main.cpp --- a/tests/auto/qlocalsocket/lackey/main.cpp Mon Mar 15 12:43:09 2010 +0200 +++ b/tests/auto/qlocalsocket/lackey/main.cpp Thu Apr 08 14:19:33 2010 +0300 @@ -172,8 +172,10 @@ return qScriptRegisterMetaType(engine, _q_ScriptValueFromQObject, _q_ScriptValueToQObject, prototype); } +QT_BEGIN_NAMESPACE Q_SCRIPT_DECLARE_QMETAOBJECT(QScriptLocalSocket, QObject*); Q_SCRIPT_DECLARE_QMETAOBJECT(QScriptLocalServer, QObject*); +QT_END_NAMESPACE static void interactive(QScriptEngine &eng) {