diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-20 02:40:08 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-20 02:40:08 (GMT) |
commit | f31f7ee8e966f1ccb954c0bca614f5c5605c820f (patch) | |
tree | c6a60aa9df1aa6beff3a83d3f352578092604685 /tools/qml | |
parent | dc6414e75e2882dc0d23994ec8c5923906d8f08e (diff) | |
download | Qt-f31f7ee8e966f1ccb954c0bca614f5c5605c820f.zip Qt-f31f7ee8e966f1ccb954c0bca614f5c5605c820f.tar.gz Qt-f31f7ee8e966f1ccb954c0bca614f5c5605c820f.tar.bz2 |
Improve error messages, especially on embedded.
With embedded, it is often the case that some QT_NO_* features are
turned off (eg. QT_NO_XMLPATTERNS), which in turn leads to QML types not
being available.
Diffstat (limited to 'tools/qml')
-rw-r--r-- | tools/qml/qmlruntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp index 7b4706b..68940c7 100644 --- a/tools/qml/qmlruntime.cpp +++ b/tools/qml/qmlruntime.cpp @@ -1431,7 +1431,7 @@ void QDeclarativeViewer::registerTypes() if (!registered) { // registering only for exposing the DeviceOrientation::Orientation enum - qmlRegisterUncreatableType<DeviceOrientation>("Qt",4,6,"Orientation"); + qmlRegisterUncreatableType<DeviceOrientation>("Qt",4,6,"Orientation",""); registered = true; } } |