| 1 |
// Copyright (C) 2016 The Qt Company Ltd. |
| 2 |
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 |
|
| 4 |
import QtQuick 2.7 |
| 5 |
import QtQuick.Window 2.2 as QQW |
| 6 |
|
| 7 |
import Qt3D.Core 2.0 |
| 8 |
import Qt3D.Render 2.0 |
| 9 |
import Qt3D.Input 2.0 |
| 10 |
import Qt3D.Extras 2.0 |
| 11 |
import QtQuick.Scene3D 2.0 |
| 12 |
|
| 13 |
Entity { |
| 14 |
id: rootItem |
| 15 |
|
| 16 |
QQW.Window { |
| 17 |
id: window2 |
| 18 |
title: "window2" |
| 19 |
visible: true |
| 20 |
width: 600 |
| 21 |
height: 600 |
| 22 |
} |
| 23 |
|
| 24 |
Scene { |
| 25 |
id: scene |
| 26 |
view1: _view |
| 27 |
view2: window2 |
| 28 |
Component.onCompleted: scene.view1 = _view |
| 29 |
} |
| 30 |
} |