summaryrefslogtreecommitdiffstats
path: root/demos/mobile/qtbubblelevel/qtbubblelevel.pro
blob: 8646308272ca4ca73a895680ebd54209ac85d468 (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
# Copyright (c) 2011 Nokia Corporation.

QT       += core gui declarative
CONFIG   += mobility
MOBILITY += sensors

TARGET = qtbubblelevel
TEMPLATE = app

VERSION = 1.2.0

HEADERS += taskswitcher.h \
           accelerometerfilter.h \
           settings.h

SOURCES += main.cpp \
           taskswitcher.cpp \
           accelerometerfilter.cpp

OTHER_FILES += qml/*.qml \
               qml/images/*.png

RESOURCES = resources.qrc

maemo5 {
    BINDIR = /opt/usr/bin
    DATADIR = /usr/share
    DEFINES += DATADIR=\\\"$$DATADIR\\\" \
        PKGDATADIR=\\\"$$PKGDATADIR\\\"
    INSTALLS += target \
        desktop \
        iconxpm \
        icon26 \
        icon40 \
        icon64

    target.path = $$BINDIR
    desktop.path = $$DATADIR/applications/hildon
    desktop.files += $${TARGET}.desktop

    iconxpm.path = $$DATADIR/pixmap
    iconxpm.files += icons/xpm/qtbubblelevel.xpm

    icon26.path = $$DATADIR/icons/hicolor/26x26/apps
    icon26.files += icons/26x26/qtbubblelevel.png

    icon40.path = $$DATADIR/icons/hicolor/40x40/apps
    icon40.files += icons/40x40/qtbubblelevel.png

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

symbian {
    TARGET = QtBubbleLevel

    # To lock the application to landscape orientation
    LIBS += -lcone -leikcore -lavkon

    ICON = icons/bubblelevel.svg
}