I like Qt Creator to notify me when a compile is finished, so I went to the Projects Pane > Build > Build Steps > Add Build Step. However, I find that this custom build step is only executed when make
exits successfully. If I have any compile errors then my custom step isn't executed, and I'm not notified.
How do you add a custom build step that executes even if you have compile errors?
It's a bit old question but I think I can share my solution:
what I'd do is:
usr/bin/make
; yourNotifyingScript
%{buildDir}
Using ; will cause yourNotifyingScript
run no matter if make passed or failed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With