Fix crash when loading QML that tries to set non-existent group properties
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 22 Apr 2014 13:48:29 +0000 (15:48 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 24 Apr 2014 13:36:44 +0000 (15:36 +0200)
commitdfdf8116fee7db9cd52a95053724decc39895aa1
tree3dfb977effe19f040320a3ff33af11f443cdf43a
parent41f0925dc8e5a9c51cdef02c5d6cd5e134c72391
Fix crash when loading QML that tries to set non-existent group properties

This happens when trying to search for implicit component definitions,
which only makes sense if we have a property cache.

Task-number: QTBUG-38466
Change-Id: I788159453efc24bcda1b9709a1933b49fd54d6a7
Reviewed-by: Liang Qi <liang.qi@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/compiler/qqmltypecompiler.cpp
tests/auto/qml/qqmllanguage/data/nonexistantProperty.7.errors.txt [new file with mode: 0644]
tests/auto/qml/qqmllanguage/data/nonexistantProperty.7.qml [new file with mode: 0644]
tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp