Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
Description
In Qt/3D's QGLCamera class, I tried the following declarations (xEye is useful for C++ but unnecessary for QML because it can be written as eye.x in QML):
Q_PROPERTY(qreal xEye READ xEye WRITE setXEye NOTIFY viewChanged SCRIPTABLE false) Q_PROPERTY(qreal yEye READ yEye WRITE setYEye NOTIFY viewChanged SCRIPTABLE false) Q_PROPERTY(qreal zEye READ zEye WRITE setZEye NOTIFY viewChanged SCRIPTABLE false) Q_PROPERTY(QVector3D eye READ eye WRITE setEye NOTIFY viewChanged)
The "SCRIPTABLE false" didn't appear to do anything - the xEye and other properties were still settable from QML and could be modified with animations. Expected outcome: "No such property xEye".