Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.8.0
-
None
-
cd9103f7f2514b6380aa460ac9d6454e132be307
Description
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5 import QtQuick 1.1 Rectangle { width: 360 height: 360 TextInput { anchors.centerIn: parent text: "Hello World" validator: RegExpValidator { regExp: ".*" } } MouseArea { anchors.fill: parent onClicked: { Qt.quit(); } } }
results in the error:
file:///Users/darke/Code/tmp/tiregexp/tiregexp.qml:10:40: Invalid property assignment: unsupported type "QRegExp"
validator: RegExpValidator
^
As far as I know this is valid.
Attachments
For Gerrit Dashboard: QTBUG-23068 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
11265,1 | Improve QRegExp support in QML | master | qt/qtdeclarative | Status: ABANDONED | -1 | 0 |
14411,1 | Improve QRegExp property literal assignment error message | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |