diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-09-29 01:13:18 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-09-29 01:13:35 (GMT) |
commit | 4fcf055f66cc23c9e60a7add489e394420e71914 (patch) | |
tree | 73686454f982203655c2127ccb9b0a72f166e81b /tools/qml | |
parent | c8b99a9b0a10541503f3e5b49b016862c7bc3ae5 (diff) | |
download | Qt-4fcf055f66cc23c9e60a7add489e394420e71914.zip Qt-4fcf055f66cc23c9e60a7add489e394420e71914.tar.gz Qt-4fcf055f66cc23c9e60a7add489e394420e71914.tar.bz2 |
Register QtQuick 1.0 module.
Qt 4.7 is still supported, but deprecated.
Reviewed-by: Martin Jones
Task-number: QTBUG-13799
Diffstat (limited to 'tools/qml')
-rw-r--r-- | tools/qml/qmlruntime.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp index c59621a..5e169d8 100644 --- a/tools/qml/qmlruntime.cpp +++ b/tools/qml/qmlruntime.cpp @@ -1532,6 +1532,7 @@ void QDeclarativeViewer::registerTypes() if (!registered) { // registering only for exposing the DeviceOrientation::Orientation enum qmlRegisterUncreatableType<DeviceOrientation>("Qt",4,7,"Orientation",""); + qmlRegisterUncreatableType<DeviceOrientation>("QtQuick",1,0,"Orientation",""); registered = true; } } |