diff options
author | Paul Lemire <paul.lemire.ecortex.kdab.com> | 2014-10-28 10:43:34 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2014-10-31 10:40:04 +0100 |
commit | e35cef4bbea4a091a22630ba5d100ced657e2b25 (patch) | |
tree | 5ee17ed622bf6783a35cc40b6d77a9f3e572e62b /examples/torus-qml | |
parent | b61835946c9dbbaf011f05a2fd20fef73887236c (diff) |
Qt3DQuick value type and color providers
Provides the following value types under the Qt3D QML import:
QColor
QVector2D
QVector3D
QVector4D
QQuaternion
QMatrxi4x4
This allow users not to import QtQuick everwhere when they just need one of
those types.
Change-Id: I7bd7e29c70c22886c40edb7abfb6ff1b7329b235
Task-number: QTBUG-41550
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/torus-qml')
-rw-r--r-- | examples/torus-qml/main.qml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/torus-qml/main.qml b/examples/torus-qml/main.qml index 12c6e360d..60304880d 100644 --- a/examples/torus-qml/main.qml +++ b/examples/torus-qml/main.qml @@ -42,13 +42,6 @@ import Qt3D 2.0 import Qt3D.Render 2.0 -// For Qt.vector3d() and friends. For some reason this is provided by -// QQuickValueTypeProvider in QtQuick rather than the default value -// type provider in QtQml. So we will need to replicate this in Qt3D -// for the types that we wish to support. Otherwise we'll have to import -// QtQuick 2.1 all over the place. -import QtQuick 2.1 as QQ2 - Entity { id: sceneRoot |