From 552fb865e9abc29f8f3d4c9b293255c265e91b83 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <daniel.molkentin@nokia.com>
Date: Fri, 1 Jul 2011 15:05:44 +0200
Subject: [PATCH] WelcomeScreen: Don't hit an assert on some machines.

Import by module name instead of path everywhere.

Change-Id: Ibf4d4d403338bb23b44516c05114001de1d031a1
Reviewed-on: http://codereview.qt.nokia.com/1011
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
---
 share/qtcreator/welcomescreen/widgets/NewsListing.qml | 2 +-
 share/qtcreator/welcomescreen/widgets/TabWidget.qml   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/qtcreator/welcomescreen/widgets/NewsListing.qml b/share/qtcreator/welcomescreen/widgets/NewsListing.qml
index 392df8b6a26..cc353afd44c 100644
--- a/share/qtcreator/welcomescreen/widgets/NewsListing.qml
+++ b/share/qtcreator/welcomescreen/widgets/NewsListing.qml
@@ -1,5 +1,5 @@
 import QtQuick 1.1
-import "../components/" as Components
+import components 1.0 as Components
 
 Item {
     id: root
diff --git a/share/qtcreator/welcomescreen/widgets/TabWidget.qml b/share/qtcreator/welcomescreen/widgets/TabWidget.qml
index cf90dfe980d..d8602e20c48 100644
--- a/share/qtcreator/welcomescreen/widgets/TabWidget.qml
+++ b/share/qtcreator/welcomescreen/widgets/TabWidget.qml
@@ -1,4 +1,4 @@
-import Qt 4.7
+import QtQuick 1.0
 
 Item {
     id: tabWidget
-- 
GitLab