Index: sources/gui/qml/dialogs/PatientIdEntry.qml =================================================================== diff -u -r3e682c5afdadcf4dd2006e3d975fbee58e48619e -rc2f474ff07c98aa350c445a2474976a3cf985f40 --- sources/gui/qml/dialogs/PatientIdEntry.qml (.../PatientIdEntry.qml) (revision 3e682c5afdadcf4dd2006e3d975fbee58e48619e) +++ sources/gui/qml/dialogs/PatientIdEntry.qml (.../PatientIdEntry.qml) (revision c2f474ff07c98aa350c445a2474976a3cf985f40) @@ -51,7 +51,10 @@ textInput.leftPadding : Variables.defaultMargin * 14 textInput.inputMethodHints : Qt.ImhPreferLowercase textInput.echoMode : TextInput.Normal + textInput.validator : RegExpValidator { regExp: Variables.regExp_PatientID } +/* Qt6 Port: replace the above line with the following one: textInput.validator : RegularExpressionValidator { regularExpression: Variables.regExp_PatientID } +*/ line.visible : false enabled : _root.editingEnabled @@ -82,7 +85,10 @@ textInput.leftPadding : Variables.defaultMargin * 14 textInput.inputMethodHints : Qt.ImhPreferLowercase textInput.echoMode : TextInput.Normal + textInput.validator : RegExpValidator { regExp: Variables.regExp_PatientID } +/* Qt6 Port: replace the above line with the following one: textInput.validator : RegularExpressionValidator { regularExpression: Variables.regExp_PatientID } +*/ line.visible : false enabled : _root.editingEnabled