Simplicity
Simplicity

Reputation: 48916

How to build and run a Qt application from the Windows command line?

I'm trying to create a simple Qt project. I have done inside of a folder the following:

How can I run this project using a command line?

Upvotes: 1

Views: 3564

Answers (1)

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.

Upvotes: 1

Related Questions