4

As far as I understand qmake processes a .pro file to generate the Makefile used to build the actual qt application.

That said, how can I let qmake generate a Makefile with some custom Makefile target?

Specifically I'd like to have in the Makefile a target called "package" that will run all the steps required to create the package for my freshly compiled qt application

1 Answer 1

5

Try using "QMAKE_EXTRA_TARGETS" as described in The Power of QMake.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.