summaryrefslogtreecommitdiffstats
path: root/basicsuite/shared/main_landscape.qml
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2015-05-29 13:21:19 +0300
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2015-05-29 15:44:51 +0300
commit57fa34d2c09529b71e2fdfec077c0f35e9cd7624 (patch)
treea42edd55fa0569bdfde8d66ad5833d93ab8506e2 /basicsuite/shared/main_landscape.qml
parenta6675bd8fc1d8fcf6d0ab60f60e471f0012b2ece (diff)
Make standalone demos work with 2d renderer5.4
Standalone application did not work in non-gpu devices (colibri vf), when the root item did not have size set. Fix this by using the same code as qtlancher has: - QQmlApplicationEngine instead of QQuickView - only one main qml file - Window as root item Change-Id: I482dd86e44faac5dac1839dfb88c5647a0425de6 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com> Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
Diffstat (limited to 'basicsuite/shared/main_landscape.qml')
-rw-r--r--basicsuite/shared/main_landscape.qml29
1 files changed, 0 insertions, 29 deletions
diff --git a/basicsuite/shared/main_landscape.qml b/basicsuite/shared/main_landscape.qml
deleted file mode 100644
index e5bf510..0000000
--- a/basicsuite/shared/main_landscape.qml
+++ /dev/null
@@ -1,29 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2014 Digia Plc
-** All rights reserved.
-** For any questions to Digia, please use contact form at http://www.qt.io
-**
-** This file is part of Qt Enterprise Embedded.
-**
-** Licensees holding valid Qt Enterprise licenses may use this file in
-** accordance with the Qt Enterprise License Agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and Digia.
-**
-** If you have questions regarding the use of this file, please use
-** contact form at http://www.qt.io
-**
-****************************************************************************/
-import QtQuick 2.0
-
-Item {
- width: engine.screenWidth()
- height: engine.screenHeight()
- SharedMain {
- anchors.centerIn: parent
- width: parent.height
- height: parent.width
- rotation: 90
- }
-}