summaryrefslogtreecommitdiff
path: root/rockwork/rockwork.pro
blob: 0d04f81f3c0738bc759842e1f3e54f325ed31d89 (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
TEMPLATE = app
TARGET = rockpool

include(../version.pri)

QT += qml quick dbus

CONFIG += c++11

HEADERS += \
    notificationsourcemodel.h \
    servicecontrol.h \
    pebble.h \
    pebbles.h \
    applicationsmodel.h \
    applicationsfiltermodel.h \
    appstoreclient.h \
    screenshotmodel.h

SOURCES += main.cpp \
    notificationsourcemodel.cpp \
    servicecontrol.cpp \
    pebble.cpp \
    pebbles.cpp \
    applicationsmodel.cpp \
    applicationsfiltermodel.cpp \
    appstoreclient.cpp \
    screenshotmodel.cpp

RESOURCES += rockwork.qrc

QML_FILES += $$files(*.qml,true) \
             $$files(*.js,true)

CONF_FILES +=  rockwork.apparmor \
               rockwork.svg \
               rockwork.desktop \
               rockwork.url-dispatcher

AP_TEST_FILES += tests/autopilot/run \
                 $$files(tests/*.py,true)

#show all the files in QtCreator
OTHER_FILES += $${CONF_FILES} \
               $${QML_FILES} \
               $${AP_TEST_FILES} \


#specify where the config files are installed to
config_files.path = /rockpool
config_files.files += $${CONF_FILES}
INSTALLS+=config_files

#install the desktop file, a translated version is
#automatically created in the build directory
desktop_file.path = /rockpool
desktop_file.files = $$OUT_PWD/rockpool.desktop
desktop_file.CONFIG += no_check_exist
INSTALLS+=desktop_file

# Default rules for deployment.
target.path = /usr/bin
INSTALLS+=target

DISTFILES += \
    NotificationsPage.qml \
    PebblesPage.qml \
    AppStorePage.qml \
    AppStoreDetailsPage.qml \
    PebbleModels.qml \
    InfoPage.qml