How can I tell qmake to have more than one target in a directory?

You can add your own targets in your .pro file using the variable QMAKE_EXTRA_TARGETS

For more information see:

http://qt.nokia.com/doc/qmake-environment-reference.html#customizing-makefile-output

This will allow you to have several executables in the same directory.

No comments

Write a comment

Sorry, you must be logged in to post a comment.