summaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-20 02:40:08 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-20 02:40:08 (GMT)
commitf31f7ee8e966f1ccb954c0bca614f5c5605c820f (patch)
treec6a60aa9df1aa6beff3a83d3f352578092604685 /tools/qml
parentdc6414e75e2882dc0d23994ec8c5923906d8f08e (diff)
downloadQt-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.cpp2
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;
}
}