Breezeight
Breezeight

Reputation: 1991

Qt and QMake build dir

I would like to build qt and qt application out of the source tree. Do you know how to set from the command line the .obj directory both with configure and qmake?

Upvotes: 5

Views: 5690

Answers (1)

Wildcat
Wildcat

Reputation: 8870

If I understand question correctly you should set OBJECTS_DIR variable in *.pro file for any directory you want. If you don't want to change *.pro file try

qmake "OBJECTS_DIR=some_dir" *.pro

Upvotes: 3

Related Questions