文章目录 编写一个hello窗口的程序 1. 创建一个新项目 2. 修改main.app内容 3. 运行通过生成程序 编写一个hello窗口的程序 1. 创建一个新项目 系统自动生成main.app和mainwindow.app 2. 修改main.app内容 #include "mainwindow.h" #include <QLabel> #include <QApplication> int main