import QtQuick 2.0 import QtQuick.Window 2.0 Window { id: root width: 600 height: 400 visible: true TextInput { focus: true text: "TextInput" anchors.centerIn: parent } }