[Qt-creator] qmake: no "strip" in generated Makefile

Andrzej Telszewski atelszewski at gmail.com
Wed Feb 24 20:27:20 CET 2016


[corrected]

Hi,

I came across something strange. On both tested systems the qmake 
version is 2.01a, but the Makefile generated on one of the systems does 
not have the strip command.

With strip:
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) 
$(INSTALL_ROOT)/usr/bin/
$(INSTALL_PROGRAM) "build/prog/$(QMAKE_TARGET)" 
"$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"
$(STRIP) "$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"

Without strip:
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/bin/ || $(MKDIR) 
$(INSTALL_ROOT)/usr/bin/
$(INSTALL_PROGRAM) "build/prog/$(QMAKE_TARGET)" 
"$(INSTALL_ROOT)/usr/bin/$(QMAKE_TARGET)"

The system that includes the strip command is:
QMake version 2.01a
Using Qt version 4.8.4 in /usr/lib64/qt/lib

The system that does not include the strip command is:
QMake version 2.01a
Using Qt version 4.6.2 in /usr/lib64


Could you please explain me how can I make the qmake to always include 
the strip step in the Makefile?

-- 
Best regards,
Andrzej Telszewski



More information about the Qt-creator mailing list