Display warning when enabling SmartReflex
[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 CONFIG += mobility
21 MOBILITY = 
22
23 symbian {
24     TARGET.UID3 = 0xeb3802d4
25     # TARGET.CAPABILITY += 
26     TARGET.EPOCSTACKSIZE = 0x14000
27     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
28 }
29
30 unix {
31         #VARIABLES
32         isEmpty(PREFIX) {
33                 PREFIX = /opt/usr
34         }
35         BINDIR = $$PREFIX/bin
36         DATADIR =$$PREFIX/share
37
38         DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
39
40         #MAKE INSTALL
41
42         INSTALLS += target helper sudoers desktop icon48 icon64 helper_sr
43         target.path =$$BINDIR
44
45         desktop.path = /usr/share/applications/hildon
46         desktop.files += data/$${TARGET}.desktop
47
48         icon48.path = $$DATADIR/icons/hicolor/48x48/hildon
49         icon48.files += data/48x48/qcpufreq.png
50
51         icon64.path = $$DATADIR/icons/hicolor/64x64/hildon
52         icon64.files += data/48x48/qcpufreq.png
53
54         helper.path = $$BINDIR/
55         helper.files += data/scripts/set_scalingmaxfreq
56         helper.permissions = 755
57
58         helper_sr.path = $$BINDIR/
59         helper_sr.files += data/scripts/set_sr
60         helper_sr.permissions = 755
61
62         sudoers.path = /etc/sudoers.d/
63         sudoers.files += data/sudoers/qcpufreq.sudoers
64 }
65
66 RESOURCES += \
67     resources.qrc