summaryrefslogtreecommitdiffstats
path: root/examples/mobile/quickhit/quickhit.pro
blob: cc980d92999060b6d841465c7746ebb19522b89a (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
QT       += core gui quick1 opengl widgets

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

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