Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
6.3.0 Beta2
-
-
8272eef2d736351d2ba41590680da395647a874e
Description
The following example produces an error in Release (debug works).
In Qt 6.2.3 it worked fine.
qrc:/untitled/main.qml:18:13: Unable to assign [undefined] to QString
import QtQuick import QtQuick.Controls ApplicationWindow { id: root visible: true width: 1366 height: 769 StackView { id: stack anchors.fill: parent initialItem: comp } Component { id: comp Pane { property string title: { //adding a print here fixes the issue //console.log("") return editMode ? qsTr("Edit") : qsTr("Create") } property bool editMode: true Label { text: title anchors.centerIn: parent } } } }
Attachments
Issue Links
- duplicates
-
QTBUG-101285 error: use of undeclared identifier 'r9_1'; did you mean 'r2_1'?
- Closed