Changed the section to user/hidden as required for Nokia Store
[ghostsoverboard] / ghostsoverboard.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2011-05-03T17:35:02
4 #
5 #-------------------------------------------------
6
7 QT       += core gui
8 QT      += dbus
9 QT      += declarative
10
11 TARGET = ghostsoverboard
12 TEMPLATE = app
13 VERSION = 0.4.0
14
15
16 SOURCES += main.cpp\
17     orientationcontrolledgraphicspixmapobject.cpp \
18     seascene.cpp \
19     ship.cpp \
20     screenlitkeeper.cpp \
21     timercontrolledgraphicspixmapobject.cpp \
22     octopus.cpp \
23     level.cpp \
24     seaview.cpp \
25     levelset.cpp
26
27 HEADERS  += \
28     orientationcontrolledgraphicspixmapobject.h \
29     seascene.h \
30     ship.h \
31     screenlitkeeper.h \
32     timercontrolledgraphicspixmapobject.h \
33     octopus.h \
34     level.h \
35     seaview.h \
36     levelset.h
37
38 CONFIG += mobility
39 MOBILITY = sensors
40 MOBILITY += systeminfo
41 MOBILITY += feedback
42
43 symbian {
44     TARGET.UID3 = 0xe3f4bbc2
45     # TARGET.CAPABILITY += 
46     TARGET.EPOCSTACKSIZE = 0x14000
47     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
48 }
49
50 unix:!symbian {
51     maemo5 {
52         target.path = /opt/usr/bin
53     } else {
54     target.path = /opt/ghostsoverboard/bin
55     }
56     INSTALLS += target
57 }
58
59 RESOURCES += \
60     orientationcontrol2pix.qrc
61
62 maemo5 {
63     desktopfile.files = $${TARGET}.desktop
64     desktopfile.path = /usr/share/applications/hildon
65     INSTALLS += desktopfile
66
67
68 }
69
70 maemo5 {
71     icon.files = ghostsoverboard.png
72     icon.path = /usr/share/icons/hicolor/64x64/apps
73     INSTALLS += icon
74 }
75
76 OTHER_FILES += \
77     qtc_packaging/debian_fremantle/rules \
78     qtc_packaging/debian_fremantle/README \
79     qtc_packaging/debian_fremantle/copyright \
80     qtc_packaging/debian_fremantle/control \
81     qtc_packaging/debian_fremantle/compat \
82     qtc_packaging/debian_fremantle/changelog \
83     qtc_packaging/debian_harmattan/rules \
84     qtc_packaging/debian_harmattan/README \
85     qtc_packaging/debian_harmattan/copyright \
86     qtc_packaging/debian_harmattan/control \
87     qtc_packaging/debian_harmattan/compat \
88     qtc_packaging/debian_harmattan/changelog \
89
90
91 unix:!symbian:!maemo5 {
92     desktopfile.files = $${TARGET}.desktop
93     desktopfile.path = /usr/share/applications
94     INSTALLS += desktopfile
95 }
96
97 unix:!symbian:!maemo5 {
98     icon.files = ghostsoverboard.svg
99     icon.path = /usr/share/icons/hicolor/scalable/apps
100     INSTALLS += icon
101 }
102
103
104 unix:!symbian:!maemo5 {
105     resourcepolicy.files = ghostsoverboard.conf
106     resourcepolicy.path = /usr/share/policy/etc/syspart.conf.d
107     INSTALLS += resourcepolicy
108
109
110     CONFIG +=  link_pkgconfig
111     PKGCONFIG += libresourceqt1
112 }