mirror of https://github.com/qt/qt3d.git
Doc: Use correct module name
QML: Importing Qt3D.Scene2D doesn't work, QtQuick.Scene2D does. CPP: Specify header file, as convenience header doesn't exist. Task-number: QTBUG-67370 Change-Id: Ia53e92c076f52bbb81b91370425279c44bf9e3c5 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
parent
9e20a1d578
commit
9b00bfe82f
|
|
@ -69,7 +69,7 @@
|
|||
*/
|
||||
|
||||
/*!
|
||||
\qmlmodule Qt3D.Scene2D 2.9
|
||||
\qmlmodule QtQuick.Scene2D 2.11
|
||||
\preliminary
|
||||
\title Qt 3D Scene2D QML Types
|
||||
\ingroup qmlmodules
|
||||
|
|
@ -80,6 +80,6 @@
|
|||
To import and use the module's QML types, use the following statement:
|
||||
|
||||
\badcode
|
||||
import Qt3D.Scene2D 2.9
|
||||
import QtQuick.Scene2D 2.11
|
||||
\endcode
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ namespace Quick {
|
|||
|
||||
/*!
|
||||
\class Qt3DRender::Quick::QScene2D
|
||||
\inheaderfile Qt3DQuickScene2D/QScene2D
|
||||
\inmodule Qt3DScene2D
|
||||
|
||||
\brief This class enables rendering qml into a texture, which then can be
|
||||
|
|
@ -73,7 +74,7 @@ namespace Quick {
|
|||
|
||||
/*!
|
||||
\qmltype Scene2D
|
||||
\inqmlmodule Qt3D.Scene2D
|
||||
\inqmlmodule QtQuick.Scene2D
|
||||
\since 5.9
|
||||
\instantiates Qt3DRender::Quick::QScene2D
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue