Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.1
-
None
-
563b5891e2f918f901ffefe29872dfac1b9a60e7
Description
Class QDeclarativeExpression (/src/declarative/qml/qdeclarativeexpression.cpp) comes with following lines of code
#if !defined(Q_OS_SYMBIAN) //XXX Why doesn't this work? if (!dd->cachedPrograms.at(progIdx)) { dd->cachedPrograms[progIdx] = new QScriptProgram(expression, url, line); } expressionFunction = evalInObjectScope(ctxt, me, *dd->cachedPrograms.at(progIdx), &expressionContext); #else expressionFunction = evalInObjectScope(ctxt, me, expression, &expressionContext); #endif
Apparently the caching made earlier versions of QML crash on Symbian. This seems not to happen any more, so it would be nice to re-enable caching.