555090feccd6b8edb00627d761964e144dacb73f
[qcpufreq] / src / src.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-06-19T23:26:05
4 #
5 #-------------------------------------------------
6
7 QT       += core gui maemo5
8
9 TARGET = QCPUFreq
10 TEMPLATE = app
11
12
13 SOURCES += main.cpp\
14         mainwindow.cpp
15
16 HEADERS  += mainwindow.h
17
18 FORMS    += mainwindow.ui
19
20 TRANSLATIONS = de.ts
21
22 CONFIG += mobility
23 MOBILITY = 
24
25 symbian {
26     TARGET.UID3 = 0xeb3802d4
27     # TARGET.CAPABILITY += 
28     TARGET.EPOCSTACKSIZE = 0x14000
29     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
30 }
31
32 unix {
33         #VARIABLES
34         isEmpty(PREFIX) {
35                 PREFIX = /opt/usr
36         }
37         BINDIR = $$PREFIX/bin
38         DATADIR =$$PREFIX/share
39
40         DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
41
42         #MAKE INSTALL
43
44         INSTALLS += target helper sudoers desktop icon48 icon64 locale_de
45         target.path =$$BINDIR
46
47         desktop.path = /usr/share/applications/hildon
48         desktop.files += data/$${TARGET}.desktop
49
50         icon48.path = $$DATADIR/icons/hicolor/48x48/hildon
51         icon48.files += data/48x48/qcpufreq.png
52
53         icon64.path = $$DATADIR/icons/hicolor/64x64/hildon
54         icon64.files += data/48x48/qcpufreq.png
55
56         helper.path = $$BINDIR/
57         helper.files += data/scripts/QCPUFreq.helper
58         helper.permissions = 755
59
60         sudoers.path = /etc/sudoers.d/
61         sudoers.files += data/sudoers/qcpufreq.sudoers
62
63         locale_de.path = /opt/usr/share/qcpufreq
64         locale_de.files += de.qm
65 }
66
67 RESOURCES += \
68     resources.qrc