import QtQuick 2.4 import QtQuick.Window 2.2 Window { visible: true width: 640 height: 480 title: "Root window" MouseArea { anchors.fill: parent onClicked: { childWindow.requestActivate() } Text { anchors.centerIn: parent text: "Click me to FOCUS & RAISE child window" } } Window { id: childWindow title: "Child window" visible: true width: 640 height: 480 } }