Home > Back-end >  How to use Qt compiler running a simple C program
How to use Qt compiler running a simple C program

Time:09-20

Using Qt c + + practice, only write some simple small program, simple to the helloworld kind!
Create an empty project using VS2010 is slow, I just want to practice the basic c + + syntax, occasionally a little programming, this simple program:
# include
using namespace std;
Int main ()
{
int a;
Cout<& lt;" A: "& lt; return 0;
}

How to use Qt to implement such procedures (not change), create a project, Qt is always the default add a lot of their library! Don't have to study to Qt libraries?
Thank you very much!

With the new project so long Qt... I am in the Windows 7 system, how to create a simple console application?

CodePudding user response:


Built a library, but couldn't run the results! :

CodePudding user response:

In vs used in Qt, a software Qt - v - system.addin,
Installed VS and Qt, then install the software, VS menu items will appear Qt, can choose Qt project when creating the project,

CodePudding user response:

Choosing a Non - QT Project in new projects, will not use the QT libraries

CodePudding user response:

QT console application is dependent on a qtcreator_process_stub. Exe, if build is QT project, the result can only be at the bottom of the application in the output view,
  • Related