de119e62e2ed1acaf3ac4bed255ad771fc1ed1ce
[confmgr] / src / src.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-06-23T14:10:47
4 #
5 #-------------------------------------------------
6
7 QT       += core gui
8 QT       += xml maemo5 dbus
9
10 TARGET = confmgr
11 TEMPLATE = app
12
13
14 SOURCES += main.cpp\
15         mainwindow.cpp \
16     xmlutil.cpp \
17     profile.cpp \
18     config.cpp \
19     addprofile.cpp \
20     addstep.cpp \
21     dbusutility.cpp \
22     confmanager.cpp
23
24 HEADERS  += mainwindow.h \
25     xmlutil.h \
26     profile.h \
27     config.h \
28     addprofile.h \
29     addstep.h \
30     dbusutility.h \
31     confmanager.h
32
33 FORMS    += mainwindow.ui \
34     addprofile.ui \
35     addstep.ui
36
37 CONFIG += mobility
38 MOBILITY = 
39
40 symbian {
41     TARGET.UID3 = 0xea1d6940
42     # TARGET.CAPABILITY += 
43     TARGET.EPOCSTACKSIZE = 0x14000
44     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
45 }
46
47 OTHER_FILES += \
48     config.xml
49
50 unix {
51   #VARIABLES
52   isEmpty(PREFIX) {
53     PREFIX = /usr/local
54   }
55   BINDIR = $$PREFIX/bin
56   DATADIR =$$PREFIX/share
57
58   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
59
60   #MAKE INSTALL
61
62   INSTALLS += target desktop service iconxpm icon26 icon48 icon64
63
64   target.path =$$BINDIR
65
66   desktop.path = $$DATADIR/applications/hildon
67   desktop.files += $${TARGET}.desktop
68
69   service.path = $$DATADIR/dbus-1/services
70   service.files += $${TARGET}.service
71
72   iconxpm.path = $$DATADIR/pixmap
73   iconxpm.files += ../data/maemo/$${TARGET}.xpm
74
75   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
76   icon26.files += ../data/26x26/$${TARGET}.png
77
78   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
79   icon48.files += ../data/48x48/$${TARGET}.png
80
81   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
82   icon64.files += ../data/64x64/$${TARGET}.png
83 }
84