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 {
|
Rectangle {
|
||||||
VisualItemModel {
|
DelegateModel {
|
||||||
id: itemModel
|
id: itemModel
|
||||||
Rectangle { height: 30; width: 80; color: "red" }
|
Rectangle { height: 30; width: 80; color: "red" }
|
||||||
Rectangle { height: 30; width: 80; color: "green" }
|
Rectangle { height: 30; width: 80; color: "green" }
|
||||||
|
@@ -24,7 +24,8 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
import QtQuick 2.2
|
import QtQuick 2.2
|
||||||
import QtQuick.Extras 1.4
|
import QtQuick.Controls 2.3
|
||||||
|
import QtQml.Models 2.2
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 220
|
width: 220
|
||||||
@@ -53,18 +54,6 @@ Rectangle {
|
|||||||
|
|
||||||
Tumbler {
|
Tumbler {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
model: listModel
|
||||||
TumblerColumn {
|
|
||||||
model: listModel
|
|
||||||
role: "foo"
|
|
||||||
}
|
|
||||||
TumblerColumn {
|
|
||||||
model: listModel
|
|
||||||
role: "bar"
|
|
||||||
}
|
|
||||||
TumblerColumn {
|
|
||||||
model: listModel
|
|
||||||
role: "baz"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -24,10 +24,10 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// ExpectedSemanticMessages: 0
|
// ExpectedSemanticMessages: 0
|
||||||
// ExpectedStaticMessages: 1
|
// ExpectedStaticMessages: 0
|
||||||
|
|
||||||
import QtQuick 2.4
|
import QtQuick 2.4
|
||||||
import QtQuick.Controls 1.3
|
import QtQuick.Window 2.2
|
||||||
|
|
||||||
Window {
|
Window {
|
||||||
title: qsTr("Hello World")
|
title: qsTr("Hello World")
|
||||||
|
Reference in New Issue
Block a user