在main.qml中的window{ }模块中添加如下语句即可

    flags: Qt.Window | Qt.FramelessWindowHint //隐藏标题栏(四)隐藏QT标题栏 - 图1