Original Address: https://blog.csdn.net/somken/article/details/104053488
1, first select a new project
2, choose to create a console project
3, select the path name and created
4, building tools
5, translation of documents (Translation File)
is mainly used for international, multi-language version
6, a compiler for MinGW-64 bits and the output directory
7, set the version control
8, complete
9, modify the code
Modify the main.cpp file
#include <QCoreApplication>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
cout << "Hello,World!" << endl;
a.exec return ();
}
10, the program run
click to run the program.
————————————————
Disclaimer: This article is CSDN blogger "unshaven" original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/somken/article/details/104053488