From: Ivan Gorinov Date: Tue, 1 Nov 2011 04:07:24 +0000 (-0700) Subject: Deployment X-Git-Url: https://vcs.maemo.org/git/?p=ameter;a=commitdiff_plain;h=1d62982f4fae24460a6fc670f2f570fd7a61f0f7 Deployment --- diff --git a/ameter.pro b/ameter.pro index ce67a68..c0b673d 100644 --- a/ameter.pro +++ b/ameter.pro @@ -1,18 +1,5 @@ -# Add files and directories to ship with the application -# by adapting the examples below. -# file1.source = myfile -# dir1.source = mydir -DEPLOYMENTFOLDERS = # file1 dir1 - symbian:TARGET.UID3 = 0xE7516F88 -# Smart Installer package's UID -# This UID is from the protected range -# and therefore the package will fail to install if self-signed -# By default qmake uses the unprotected range value if unprotected UID is defined for the application -# and 0x2002CCCF value if protected UID is given to the application -#symbian:DEPLOYMENT.installer_header = 0x2002CCCF - # Allow network access on Symbian symbian:TARGET.CAPABILITY += NetworkServices @@ -35,15 +22,18 @@ HEADERS += mainwindow.h \ FORMS += -# Please do not modify the following two lines. Required for deployment. -include(deployment.pri) -qtcAddDeployment() - -OTHER_FILES += \ - qtc_packaging/debian_fremantle/rules \ - qtc_packaging/debian_fremantle/README \ - qtc_packaging/debian_fremantle/copyright \ - qtc_packaging/debian_fremantle/control \ - qtc_packaging/debian_fremantle/compat \ - qtc_packaging/debian_fremantle/changelog +unix { + isEmpty(PREFIX) { + PREFIX = /usr + } + INSTALLS += target desktop icon64 + + target.path = $$PREFIX/bin + + desktop.path = $$PREFIX/share/applications/hildon + desktop.files += ameter.desktop + + icon64.path = $$PREFIX/share/icons/hicolor/64x64/apps + icon64.files = ameter.png +}