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

Ziller Eike Eike.Ziller at theqtcompany.com
Thu Feb 25 09:36:59 CET 2016


> On Feb 24, 2016, at 8:26 PM, Andrzej Telszewski <atelszewski at gmail.com> wrote:
> 
> 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?

Hi,

since this is a very Qt Creator centric list, you might want to try posting your question on interest at qt-project.org instead.

Br, Eike

-- 
Eike Ziller, Principle Software Engineer - The Qt Company GmbH
 
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list