summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2010-11-01 07:15:52 (GMT)
committerKent Hansen <kent.hansen@nokia.com>2010-11-01 07:16:44 (GMT)
commit6e754afacba309797b1317b5eeab2b93536eb02b (patch)
tree837fb8c3da1fa8865db5a6dac0b1eb23d77ad392
parent42a04e5508d44d7edb727124c30d37dbb2a98a78 (diff)
downloadQt-6e754afacba309797b1317b5eeab2b93536eb02b.zip
Qt-6e754afacba309797b1317b5eeab2b93536eb02b.tar.gz
Qt-6e754afacba309797b1317b5eeab2b93536eb02b.tar.bz2
Compile with Qt namespace
-rw-r--r--tests/auto/qscriptengine/tst_qscriptengine.cpp2
1 files changed, 2 insertions, 0 deletions
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()
{