Dyld will take the debug library and link it against the release
versions of the frameworks. (Using the debug versions is an option to
dyld when starting an application.) This requires all symbols in both
debug and release libraries in frameworks to be the same.
Change-Id: I6d96bcdf8577f1dffc63c508cb7adc0db2acc486
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
return 0;
}
-#ifndef QT_NO_DEBUG
void ExecutionEngine::assertObjectBelongsToEngine(const Value &v)
{
- if (!v.isObject())
- return;
- Q_ASSERT(v.objectValue()->engine() == this);
+ Q_ASSERT(!v.isObject() || v.objectValue()->engine() == this);
}
-#endif
// Converts a JS value to a meta-type.
// data must point to a place that can store a value of the given type.
bool metaTypeFromJS(const Value &value, int type, void *data);
QV4::ReturnedValue metaTypeToJS(int type, const void *data);
-#ifndef QT_NO_DEBUG
void assertObjectBelongsToEngine(const Value &v);
-#endif
private:
QmlExtensions *m_qmlExtensions;