This is for setting up the application bundle of a MacOSX app. I have a script which copies a few files and does some other things. So I want to execute the script after the
There is related questions there and there. I quote my answer for first of them:
Another way to make things in given order is to use empty "super" target:
super.depends = target_pre first target_post QMAKE_EXTRA_TARGETS += super
Where
first
- is default qmake target, andtarget_pre
andtarget_post
some custom targets. Nowmake super
just do the thing.
EDIT: looks like in last versions of Qt build of dependencies is running in paralell so this solution wouldn't work.