import QtQuick 2.4
import QtQuick.Controls 2.0
import QtQuick.Controls 1.4 as Controls
import QtQuick.Layouts 1.2
ApplicationWindow {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")
    ColumnLayout {
        anchors.fill: parent
        anchors.margins: 6
        Button {                               //2.0版本的
            text: "Button A"
        }
        Controls.Button {             //1.4版本的
            text: "Button B"
        }
        Item {
            Layout.fillHeight: true
        }
    }
}