From 6e754afacba309797b1317b5eeab2b93536eb02b Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Mon, 1 Nov 2010 08:15:52 +0100 Subject: Compile with Qt namespace --- tests/auto/qscriptengine/tst_qscriptengine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp index 034512f..7d3d35f 100644 --- a/tests/auto/qscriptengine/tst_qscriptengine.cpp +++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp @@ -5547,7 +5547,9 @@ void tst_QScriptEngine::newGrowingStaticScopeObject() eng.popContext(); } +QT_BEGIN_NAMESPACE Q_SCRIPT_DECLARE_QMETAOBJECT(QStandardItemModel, QObject*) +QT_END_NAMESPACE void tst_QScriptEngine::scriptValueFromQMetaObject() { -- cgit v0.12