1.create Project
2.Choose a template->then Choose
3.Location->then next
4.Build System -> then Next
5 Translation ,then Next
6.Kits then Next
7.Summary then Finsh
8 write code
#include <QCoreApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
qDebug() << "hello world";
return a.exec();
}
9.Run