下载官方文档 Getting Started Programming with Qt Quick | Qt 5.14 将项目文件拷贝到新建项目Alarms中 添加文件:qml.qrc–>/–>右键–>添加文件 2.编译并且在Ubuntu下运行 直接在qtcreator编译运行使用qmake