Compile a Qt project from command Line
Qt project from command Line takes the first two qt creator:
- By creating the build output directory.
- Build the CD output directory (KEY STEP).
- Make a Call qmake assign the .pro file.
- make a call.
To build the directory first and then call the qmake etc. And to build the files already compiled it and error to make them by clean the build directory to execute different.
To initialize the window:
- cd ~/your_project_folder/
- The qmake -project
- The qmake
- To make
The actual project is qmake -project but it is wrong then check the “qmake –help”:
qmake -makefile make
When it is a large project then make a -j4 to easy.