summaryrefslogtreecommitdiffstats
path: root/demos/mobile/quickhit/quickhit.pro
blob: e5a4b3da3862e3c2ed6655e05c72ebac7443b283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91

# Copyright (c) 2011 Nokia Corporation.

QT       += core gui declarative opengl

VERSION = 1.1.1

TARGET = quickhit
TEMPLATE = app

SOURCES += main.cpp \
        mainwindow.cpp \
    gameengine.cpp \
    InvSounds.cpp \
    myeventfilter.cpp \
    ga_src/GEAudioBuffer.cpp \
    ga_src/GEAudioOut.cpp \
    ga_src/GEInterfaces.cpp

HEADERS  += mainwindow.h \
    gameengine.h \
    myeventfilter.h \
    plugins/levelplugininterface.h \
    InvSounds.h \
    ga_src/GEAudioBuffer.h \
    ga_src/GEAudioOut.h \
    ga_src/GEInterfaces.h

RESOURCES += resources.qrc

# QtMultimedia from Qt
QT += multimedia

symbian {
    # in Symbian 1 we do not have OpenGL available
    contains(SYMBIAN_VERSION, 9.4) {
        DEFINES += QT_NO_OPENGL
        QT -= opengl
        warning("No OpenGL support")
    }

    CONFIG += mobility
    MOBILITY = systeminfo
    TARGET = QuickHit
    TARGET.UID3 = 0xe7ced714

    TARGET.CAPABILITY = NetworkServices \
        Location \
        ReadUserData \
        WriteUserData \
        LocalServices \
        UserEnvironment

    LIBS += -lcone -leikcore -lavkon -lhwrmvibraclient

    ICON = icon.svg

    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x100000 0x2000000
}

maemo5 {
    CONFIG += mobility
    MOBILITY = systeminfo

    BINDIR = /opt/usr/bin
    DATADIR = /usr/share
    DEFINES += DATADIR=\\\"$$DATADIR\\\" \
        PKGDATADIR=\\\"$$PKGDATADIR\\\"

    INSTALLS += target \
        desktop \
        icon64

    target.path = $$BINDIR
    desktop.path = $$DATADIR/applications/hildon
    desktop.files += quickhit.desktop

    icon64.path = $$DATADIR/icons/hicolor/64x64/apps
    icon64.files += quickhit.png
}

OTHER_FILES += \
    Game.qml \
    Game.js \
    MyShip.qml \
    Missile.qml \
    Menu.qml \
    MenuItem.qml \
    Button.qml \
    Message.qml