Fix crash when QtQuick 2.0 wasn't imported
authorAaron Kennedy <aaron.kennedy@nokia.com>
Mon, 5 Dec 2011 14:10:59 +0000 (14:10 +0000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Dec 2011 14:33:39 +0000 (15:33 +0100)
commit97cbef99cbd35b22a17bf29ed406b20d4d35680c
tree681c29a045fa08da107015a994c6a0f40b6c95ca
parent5ac2990688c7da6ce872bccc5c08129267887d68
Fix crash when QtQuick 2.0 wasn't imported

The QML compiler still tried to resolve the implicit "Component" element
within the QtQuick 2.0 namespace.

Task-number: QTBUG-23017
Change-Id: I62ae962f58787910a76f76c872daa08874b5df56
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
src/declarative/qml/qdeclarativecompiler.cpp
src/declarative/qml/qdeclarativecompiler_p.h
src/declarative/qml/qdeclarativecomponent_p.h
src/declarative/qml/qdeclarativeengine.cpp