From b032186108c32466abb464ceea2d3ee2975fdc9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Tue, 13 Jul 2021 23:06:47 +0200 Subject: qml: remove version numbers from imports In Qt6 the latest version is used by default. Task-number: QTBUG-82922 Task-number: PYSIDE-841 Change-Id: I71ce9caf58db24b47736b977b461324788b93423 Reviewed-by: Christian Tismer Reviewed-by: Friedemann Kleint Reviewed-by: Keith Kyzivat --- examples/declarative/extending/chapter1-basics/app.qml | 4 ++-- examples/declarative/extending/chapter2-methods/app.qml | 4 ++-- examples/declarative/extending/chapter3-bindings/app.qml | 4 ++-- examples/declarative/extending/chapter4-customPropertyTypes/app.qml | 4 ++-- examples/declarative/extending/chapter5-listproperties/app.qml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'examples/declarative/extending') diff --git a/examples/declarative/extending/chapter1-basics/app.qml b/examples/declarative/extending/chapter1-basics/app.qml index 190d0246f..d51d328c7 100644 --- a/examples/declarative/extending/chapter1-basics/app.qml +++ b/examples/declarative/extending/chapter1-basics/app.qml @@ -38,8 +38,8 @@ ** ****************************************************************************/ //![0] -import Charts 1.0 -import QtQuick 2.0 +import Charts +import QtQuick Item { width: 300; height: 200 diff --git a/examples/declarative/extending/chapter2-methods/app.qml b/examples/declarative/extending/chapter2-methods/app.qml index 3a44798c7..2fc65ab1a 100644 --- a/examples/declarative/extending/chapter2-methods/app.qml +++ b/examples/declarative/extending/chapter2-methods/app.qml @@ -38,8 +38,8 @@ ** ****************************************************************************/ //![0] -import Charts 1.0 -import QtQuick 2.0 +import Charts +import QtQuick Item { width: 300; height: 200 diff --git a/examples/declarative/extending/chapter3-bindings/app.qml b/examples/declarative/extending/chapter3-bindings/app.qml index 277b897e4..23c1af14f 100644 --- a/examples/declarative/extending/chapter3-bindings/app.qml +++ b/examples/declarative/extending/chapter3-bindings/app.qml @@ -38,8 +38,8 @@ ** ****************************************************************************/ //![0] -import Charts 1.0 -import QtQuick 2.0 +import Charts +import QtQuick Item { width: 300; height: 200 diff --git a/examples/declarative/extending/chapter4-customPropertyTypes/app.qml b/examples/declarative/extending/chapter4-customPropertyTypes/app.qml index 29ad37d25..af98a4055 100644 --- a/examples/declarative/extending/chapter4-customPropertyTypes/app.qml +++ b/examples/declarative/extending/chapter4-customPropertyTypes/app.qml @@ -38,8 +38,8 @@ ** ****************************************************************************/ //![0] -import Charts 1.0 -import QtQuick 2.0 +import Charts +import QtQuick Item { width: 300; height: 200 diff --git a/examples/declarative/extending/chapter5-listproperties/app.qml b/examples/declarative/extending/chapter5-listproperties/app.qml index 9ff6e3b6a..5040fa73a 100644 --- a/examples/declarative/extending/chapter5-listproperties/app.qml +++ b/examples/declarative/extending/chapter5-listproperties/app.qml @@ -38,8 +38,8 @@ ** ****************************************************************************/ //![0] -import Charts 1.0 -import QtQuick 2.0 +import Charts +import QtQuick Item { width: 300; height: 200 -- cgit v1.2.3