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
For Gerrit Dashboard: QTBUG-120506 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
536705,7 | QtQml: Double-check inline components when type-checking functions | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
536907,5 | QtQml: Do not speculatively create ICs for non-composite types | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
538208,2 | QtQml: Do not speculatively create ICs for non-composite types | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
538209,3 | QtQml: Double-check inline components when type-checking functions | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
538323,2 | QtQml: Do not speculatively create ICs for non-composite types | 6.6 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
539551,5 | QtQml: Tolerate bad function signatures when type checking | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
540869,3 | QtQml: Tolerate bad function signatures when type checking | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
544159,3 | QtQml: Tolerate bad function signatures when type checking | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
595534,3 | QDoc Clang: Drop unused function from build script | dev | qtsdk/tqtc-qtsdk | Status: MERGED | +2 | 0 |
595644,2 | QDoc Clang: Drop unused function from build script | production | qtsdk/tqtc-qtsdk | Status: MERGED | +2 | 0 |