diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2020-03-31 13:46:43 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2020-03-31 15:24:06 +0200 |
commit | e5658a34159ae32cff7a6c0e1295171c00fe923a (patch) | |
tree | f12456298374aad3f2866b4a90e4f6beca0e9cc5 /tests/auto/controls/data/tst_textfield.qml | |
parent | a69544a7b444301c1d3f7956c89eb65ea0b3ab83 (diff) | |
download | qtquickcontrols-e5658a34159ae32cff7a6c0e1295171c00fe923a.tar.gz |
Push dependency for qtdeclarative and fix resulting test failures
This enables other modules depending on quickcontrols and declarative
to resolve their conflicts.
Change-Id: Iea28fa75157034d85dc24f44491ca986902db547
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/controls/data/tst_textfield.qml')
-rw-r--r-- | tests/auto/controls/data/tst_textfield.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_textfield.qml b/tests/auto/controls/data/tst_textfield.qml index 64b3fad0..111d01b4 100644 --- a/tests/auto/controls/data/tst_textfield.qml +++ b/tests/auto/controls/data/tst_textfield.qml @@ -141,7 +141,7 @@ TestCase { } function test_validator() { - var textfield = Qt.createQmlObject('import QtQuick 2.2; import QtQuick.Controls 1.2; TextField {validator: RegExpValidator { regExp: /(red|blue|green)?/; }}', testCase, '') + var textfield = Qt.createQmlObject('import QtQuick 2.14; import QtQuick.Controls 1.2; TextField {validator: RegularExpressionValidator { regularExpression: /(red|blue|green)?/; }}', testCase, '') textfield.text = "blu" compare(textfield.acceptableInput, false) |