X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=ameter.pro;h=44d959c53da4bfc280408e072326063b96012d71;hb=refs%2Fheads%2Fmaster;hp=6f103750bcdc699d615e9661882c292dbacc9111;hpb=cb0175cc79af386e8662b934fc627197bceac837;p=ameter diff --git a/ameter.pro b/ameter.pro index 6f10375..44d959c 100644 --- a/ameter.pro +++ b/ameter.pro @@ -1,43 +1,32 @@ -# 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 - -# If your application uses the Qt Mobility libraries, uncomment -# the following lines and add the respective components to the -# MOBILITY variable. -CONFIG += mobility +CONFIG += mobility qdbus MOBILITY += sensors +QT += dbus -SOURCES += main.cpp mainwindow.cpp \ +SOURCES += main.cpp \ + mainwindow.cpp \ ameterwidget.cpp \ - asettings.cpp + asettings.cpp \ + about.cpp + HEADERS += mainwindow.h \ ameterwidget.h \ - asettings.h + asettings.h \ + about.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 +} +