Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6
-
None
-
Linux
-
e516ef519 (dev), 0af12845a (dev), 297641b42 (6.7), 1d2be36ee (6.7), 68bf4948f (6.6), 60fd389d4 (tqtc/lts-6.5), 8a340d485 (tqtc/lts-6.2), 6e64f376c (dev), c54e8187f (production)
Description
import QtQuick import Qt3D.Render import Qt3D.Core Entity { id: sceneRoot function positionCamera(requestedProjectionType: CameraLens.ProjectionType) { return 0; } }
When running this qml on version 6.6 it will fail with:
qrc:/main.qml:11:11: Type CameraLens has no inline component type called ProjectionType function positionCamera(requestedProjectionType: CameraLens.ProjectionType) { ^
Running Qt 6.5 will not fail. It doesn't fail on other type hints I've tried (haven't tried them all obviously)
Attachments
Issue Links
- is duplicated by
-
QTBUG-122252 [REG: 6.4->6.5] Qt.point cannot be used as a return type
- Closed
- relates to
-
QTBUG-15483 Allow using enums as properties in QML
- Open