[Qt-creator] qmake: how to disable error ignoring for make recipe in Makefile?

Oswald Buddenhagen oswald.buddenhagen at theqtcompany.com
Mon Feb 22 14:03:54 CET 2016

On Mon, Feb 22, 2016 at 12:48:58PM +0100, Andrzej Telszewski wrote:
> When I generate Makefile with qmake, the recipe for installing looks something
> like this:
> install_target: first FORCE
> 	@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/sbin/ || $(MKDIR)
> $(INSTALL_ROOT)/usr/sbin/
> "$(INSTALL_ROOT)/usr/sbin/$(QMAKE_TARGET)"
> 	-$(STRIP) "$(INSTALL_ROOT)/usr/sbin/$(QMAKE_TARGET)"
> Hyphens "-" are added in front of $(INSTALL_PROGRAM) and $(STRIP). These "-"
> allow to ignore recipe errors.
> But I would actually like to switch on failing on recipe error.
> How can I do it?
> That is, what and where I have to specify for the "-" to be removed?
there is no way. i consider this a long-standing bug and would happily
accept a respective patch if it's done thoroughly. target branch 5.7.

More information about the Qt-creator mailing list