I'm trying to create a simple Qt project. I have done inside of a folder the following:
- Created a
.uifile - ran
qmake -project - Made a
.profile - Made a
main.cppfile
How can I run this project using a command line?
You probably should run qmake to generate a Makefile from your .pro, then run make to compile and build the executable binary program, then run that program by its name. You might need to type the full or relative file path of the program if your PATH is not containing the directory having the program binary.
.cpp file or the .pro file?.exe suffix on Windows, and usually no suffix on Linux.