import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Layouts 1.15 import QtQuick.Controls 2.15 Rectangle{ Layout.fillHeight: true Layout.fillWidth: true color: "red" }