bbfe174da27ae17979aaaf9e24c000496c30691a
[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 helper_sr 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/set_scalingmaxfreq
58         helper.permissions = 755
59
60         helper_sr.path = $$BINDIR/
61         helper_sr.files += data/scripts/set_sr
62         helper_sr.permissions = 755
63
64         sudoers.path = /etc/sudoers.d/
65         sudoers.files += data/sudoers/qcpufreq.sudoers
66
67         locale_de.path = /opt/usr/share/qcpufreq
68         locale_de.files += de.qm
69 }
70
71 RESOURCES += \
72     resources.qrc