forked from qt-creator/qt-creator
qmljs: fix tst_dependencies imports
update imports of tst_dependencies to newer version (for Qt 5.15) Change-Id: I095200a2fe54a059cd2d69c76b6da08ab8e596a5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -23,10 +23,11 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.8
|
||||
import QtQuick 2.4
|
||||
import QtQml.Models 2.2
|
||||
|
||||
Rectangle {
|
||||
VisualItemModel {
|
||||
DelegateModel {
|
||||
id: itemModel
|
||||
Rectangle { height: 30; width: 80; color: "red" }
|
||||
Rectangle { height: 30; width: 80; color: "green" }
|
||||
|
@@ -24,7 +24,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.2
|
||||
import QtQuick.Extras 1.4
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQml.Models 2.2
|
||||
|
||||
Rectangle {
|
||||
width: 220
|
||||
@@ -53,18 +54,6 @@ Rectangle {
|
||||
|
||||
Tumbler {
|
||||
anchors.centerIn: parent
|
||||
|
||||
TumblerColumn {
|
||||
model: listModel
|
||||
role: "foo"
|
||||
}
|
||||
TumblerColumn {
|
||||
model: listModel
|
||||
role: "bar"
|
||||
}
|
||||
TumblerColumn {
|
||||
model: listModel
|
||||
role: "baz"
|
||||
}
|
||||
model: listModel
|
||||
}
|
||||
}
|
||||
|
@@ -24,10 +24,10 @@
|
||||
****************************************************************************/
|
||||
|
||||
// ExpectedSemanticMessages: 0
|
||||
// ExpectedStaticMessages: 1
|
||||
// ExpectedStaticMessages: 0
|
||||
|
||||
import QtQuick 2.4
|
||||
import QtQuick.Controls 1.3
|
||||
import QtQuick.Window 2.2
|
||||
|
||||
Window {
|
||||
title: qsTr("Hello World")
|
||||
|
Reference in New Issue
Block a user