linux下执行qt程序怎么编译运行?
1、在Linux下的命令行编辑程序:[root@localhost root]# mkdir hello//mkdir命令创建一个hello目录[root@localhost root]# cd hello//cd命令切换到刚才创建的hello目录[root@localhost hello]# vi main.cpp//在hello目录中用vi创建一个main.cpp文件 将下面的代码输入到main.cpp文件中#include