-# 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
+}
+