[mythtv] How do you stop qmake from trying to strip all installedfiles?

Mark Spieth mark at dclabs.com.au
Sun Jul 24 08:17:35 EDT 2005


try adding
QMAKE_STRIP = echo
to the settings file.
this way I can get a release build with debug syms.
cheers
mark
----- Original Message ----- 
From: "Paul" <mythtv at dsl.pipex.com>
To: <mythtv-dev at mythtv.org>
Sent: Sunday, July 24, 2005 6:25 AM
Subject: [mythtv] How do you stop qmake from trying to strip all
installedfiles?


> I'm trying to create a qmake .pro file to make/install a new
> program for myth but the resulting make file always try's to
> strip every file it installs.
>
> Here's the .pro file
>
> INCLUDEPATH += ../../libs/ ../../libs/libmyth
>
> LIBS += -L../../libs/libmyth -L../../libs/libmythtv
>
> include ( ../../config.mak )
> include (../../settings.pro)
>
> TEMPLATE = app
> CONFIG += thread
> target.path = $${PREFIX}/bin
> INSTALLS = target
>
> installfiles.path = $${PREFIX}/bin
> installfiles.files = mythshutdown
>
> config.path = /etc
> config.files = mythshutdown.conf.example
>
> uifiles.path = $${PREFIX}/share/mythtv/themes/default
> uifiles.files = welcome-ui.xml images/*.png
>
> INSTALLS += installfiles config uifiles
>
> DEPENDPATH += ../../libs/libmythtv ../../libs/libmyth
>
> LIBS += -lmythtv-$$LIBVERSION -lmyth-$$LIBVERSION $$EXTRA_LIBS
>
> QMAKE_CLEAN += $(TARGET)
>
> # Input
> HEADERS += welcomedialog.h
> SOURCES += main.cpp welcomedialog.cpp
>
> and here's the resulting output from make install:
>
> # make install
> cp -f "mythwelcome" "/usr/bin/mythwelcome"
> strip "/usr/bin/mythwelcome"
> cp -f "mythshutdown" "/usr/bin/"
> strip "/usr/bin/mythshutdown"
> strip: /usr/bin/mythshutdown: File format not recognized
> make: [install_installfiles] Error 1 (ignored)
> cp -f "mythshutdown.conf.example" "/etc/"
> cp -f "welcome-ui.xml" "/usr/share/mythtv/themes/default/"
> cp -f "images/mw_text_button_off.png" "/usr/share/mythtv/themes/default/"
> strip "/usr/share/mythtv/themes/default/mw_text_button_off.png"
> strip: /usr/share/mythtv/themes/default/mw_text_button_off.png: File
format
> not recognized
> make: [install_uifiles] Error 1 (ignored)
> cp -f "images/mw_text_button_on.png" "/usr/share/mythtv/themes/default/"
> strip "/usr/share/mythtv/themes/default/mw_text_button_on.png"
> strip: /usr/share/mythtv/themes/default/mw_text_button_on.png: File format
> not recognized
> make: [install_uifiles] Error 1 (ignored)
> cp -f "images/mw_text_button_pushed.png"
"/usr/share/mythtv/themes/default/"
> strip "/usr/share/mythtv/themes/default/mw_text_button_pushed.png"
> strip: /usr/share/mythtv/themes/default/mw_text_button_pushed.png: File
> format not recognized
> make: [install_uifiles] Error 1 (ignored)
>
> Everything does get installed OK but as you can see there are errors
>  in the output. Why does a very similar mythweather.pro work OK but
> this one fails? It's got me beat.
>
> Any help to figure this out would be much appreciated.
>
> Paul
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>



More information about the mythtv-dev mailing list