1QT       += core gui declarative opengl
2
3VERSION = 1.1.1
4
5TARGET = quickhit
6TEMPLATE = app
7
8SOURCES += main.cpp \
9        mainwindow.cpp \
10    gameengine.cpp \
11    InvSounds.cpp \
12    myeventfilter.cpp \
13    ga_src/GEAudioBuffer.cpp \
14    ga_src/GEAudioOut.cpp \
15    ga_src/GEInterfaces.cpp
16
17HEADERS  += mainwindow.h \
18    gameengine.h \
19    myeventfilter.h \
20    plugins/levelplugininterface.h \
21    InvSounds.h \
22    ga_src/GEAudioBuffer.h \
23    ga_src/GEAudioOut.h \
24    ga_src/GEInterfaces.h
25
26RESOURCES += resources.qrc
27
28# QtMultimedia from Qt
29QT += multimedia
30
31symbian {
32    # in Symbian 1 we do not have OpenGL available
33    contains(SYMBIAN_VERSION, 9.4) {
34        DEFINES += QT_NO_OPENGL
35        QT -= opengl
36        warning("No OpenGL support")
37    }
38
39    CONFIG += mobility
40    MOBILITY = systeminfo
41    TARGET = QuickHit
42    TARGET.UID3 = 0xe7ced714
43
44    TARGET.CAPABILITY = NetworkServices \
45        Location \
46        ReadUserData \
47        WriteUserData \
48        LocalServices \
49        UserEnvironment
50
51    LIBS += -lcone -leikcore -lavkon -lhwrmvibraclient
52
53    ICON = icon.svg
54
55    TARGET.EPOCSTACKSIZE = 0x14000
56    TARGET.EPOCHEAPSIZE = 0x100000 0x2000000
57}
58
59maemo5 {
60    CONFIG += mobility
61    MOBILITY = systeminfo
62
63    BINDIR = /opt/usr/bin
64    DATADIR = /usr/share
65    DEFINES += DATADIR=\\\"$$DATADIR\\\" \
66        PKGDATADIR=\\\"$$PKGDATADIR\\\"
67
68    INSTALLS += target \
69        desktop \
70        icon64
71
72    target.path = $$BINDIR
73    desktop.path = $$DATADIR/applications/hildon
74    desktop.files += quickhit.desktop
75
76    icon64.path = $$DATADIR/icons/hicolor/64x64/apps
77    icon64.files += quickhit.png
78}
79
80OTHER_FILES += \
81    Game.qml \
82    Game.js \
83    MyShip.qml \
84    Missile.qml \
85    Menu.qml \
86    MenuItem.qml \
87    Button.qml \
88    Message.qml
89