import QtQuick 2.3 import QtQuick.Window 2.2 import QtQuick.Controls 1.4 Window { id:idParent visible: true x:0 y:0 height: 1080 width:1920 flags: Qt.FramelessWindowHint Window { id:idW1 x:0 y:0 flags: Qt.FramelessWindowHint width:960 height: 1080 color: "red" visible: true } Window { id:idW2 flags: Qt.FramelessWindowHint x:960 y:0 width:960 height: 1080 color: "yellow" visible: true } Component.onCompleted: { console.log(" width "+Screen.width+ " height "+ Screen.height +" idW1 x "+idW1.x+" idW1.y "+idW1.y+" idW1.height "+ idW1.height +" idW1.Width "+ idW1.width +" idW2 x "+idW2.x+" idW2.y "+idW2.y+" idW2.height "+ idW2.height +" idW1.Width "+ idW1.width) } } int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); return app.exec(); }