diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-12-05 14:10:59 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-05 15:33:39 +0100 |
commit | 97cbef99cbd35b22a17bf29ed406b20d4d35680c (patch) | |
tree | 681c29a045fa08da107015a994c6a0f40b6c95ca /src/declarative/qml/qdeclarativecomponent_p.h | |
parent | 5ac2990688c7da6ce872bccc5c08129267887d68 (diff) |
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>
Diffstat (limited to 'src/declarative/qml/qdeclarativecomponent_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativecomponent_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent_p.h b/src/declarative/qml/qdeclarativecomponent_p.h index 49b3d037ad..1e6cbc8262 100644 --- a/src/declarative/qml/qdeclarativecomponent_p.h +++ b/src/declarative/qml/qdeclarativecomponent_p.h @@ -124,7 +124,7 @@ public: } }; -class QDeclarativeComponentAttached : public QObject +class Q_AUTOTEST_EXPORT QDeclarativeComponentAttached : public QObject { Q_OBJECT public: |