diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-02-16 10:25:03 +1000 |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-02-17 08:57:14 +1000 |
commit | 48f4fe4897ba6b98434993179b47d6d9491ae173 (patch) | |
tree | 536600f270c4e3dd75fd5640f5f32fb8cfe5904b /tests/auto/qlocalsocket | |
parent | b7406af04ec83b3e8d712b42a87f6c29121b998d (diff) |
Fixed tests using Q_DECLARE_* when Qt is configured with -qtnamespace
Diffstat (limited to 'tests/auto/qlocalsocket')
-rw-r--r-- | tests/auto/qlocalsocket/lackey/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qlocalsocket/lackey/main.cpp b/tests/auto/qlocalsocket/lackey/main.cpp index 0f1930c8ac..1bba4f89f1 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) { |