Set up packaging from QtCreator
[ghostsoverboard] / ghostsoverboard.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2011-05-03T17:35:02
4 #
5 #-------------------------------------------------
6
7 QT       += core gui
8
9 TARGET = ghostsoverboard
10 TEMPLATE = app
11
12
13 SOURCES += main.cpp\
14         mainwindow.cpp \
15     orientationcontrolledgraphicspixmapobject.cpp \
16     timercontrolledtursas.cpp \
17     seascene.cpp \
18     seaview.cpp \
19     ship.cpp
20
21 HEADERS  += mainwindow.h \
22     orientationcontrolledgraphicspixmapobject.h \
23     timercontrolledtursas.h \
24     seascene.h \
25     seaview.h \
26     ship.h
27
28 CONFIG += mobility
29 MOBILITY = sensors
30
31 symbian {
32     TARGET.UID3 = 0xe3f4bbc2
33     # TARGET.CAPABILITY += 
34     TARGET.EPOCSTACKSIZE = 0x14000
35     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
36 }
37
38 unix:!symbian {
39     maemo5 {
40         target.path = /opt/usr/bin
41     } else {
42         target.path = /usr/local/bin
43     }
44     INSTALLS += target
45 }
46
47 RESOURCES += \
48     orientationcontrol2pix.qrc
49
50 maemo5 {
51     desktopfile.files = $${TARGET}.desktop
52     desktopfile.path = /usr/share/applications/hildon
53     INSTALLS += desktopfile
54
55
56 }
57
58 maemo5 {
59     icon.files = ghostsoverboard.png
60     icon.path = /usr/share/icons/hicolor/64x64/apps
61     INSTALLS += icon
62 }