Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

INSTALLS add "strip" command to makefile

$
0
0
My pro file looks like this: OTHER_FILES += \  .gitignore \  README.md \  qt.conf \  start.sh   qtconf.files = $${PWD}/qt.conf qtconf.path = $${OUT_PWD}/   start.files = $${PWD}/start.sh start.path = $${OUT_PWD}/   INSTALLS += qtconf start and it adds two targets to my makefile: install_qtconf: first FORCE  @test -d $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/ || mkdir -p $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/  -$(INSTALL_FILE) /home/tim/Programmieren/quptime/quptime/qt.conf $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/   uninstall_qtconf: FORCE  -$(DEL_FILE) -r $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/qt.conf  -$(DEL_DIR) $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/   install_start: first FORCE  @test -d $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/ || mkdir -p $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/  -$(INSTALL_PROGRAM) /home/tim/Programmieren/quptime/quptime/start.sh $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/  -strip $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/start.sh   uninstall_start: FORCE  -$(DEL_FILE) -r $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/start.sh  -$(DEL_DIR) $(INSTALL_ROOT)/home/tim/Programmieren/quptime/build-quptime-Desktop-Release/ My problem is the “strip” command at the end of the “install_start” target. “start.sh” is a shell script to start the application but the “strip” commands produces an error because the fileformat is unknown. How can I remove “strip”? When I change the permissions of “start.sh” to be not executable “strip” is not added but the file should be executable.

Viewing all articles
Browse latest Browse all 2113

Trending Articles