Execute qmake to generate Makefile

1. The basic compilation process of the program:

"Source file"-->"target file"-->link into an executable program

 Compile under linux: compile the file into .o file -> link

2. Makefile is a script that integrates compilation

The figure below is the formation process of Makefile

 

For the specific writing method of Makefile, please refer to the material Makefile writing method

 

3.Qt's qmake build

Function: Generate Makefile, compile and generate executable file, after clicking qmake, the file will be generated under the program { }

Detailed explanation of Makefile parameters

 

4. QT signal and slot connection

If there is a custom signal slot, a "moc_xxxxxx" file will be generated

Guess you like

Origin blog.csdn.net/m0_49036370/article/details/115222510