summaryrefslogtreecommitdiff
path: root/sowatchui/sowatchui.pro
blob: fa965d3e90ab03eaea54b1a591ec0a130996a403 (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
TARGET = sowatch

QT += dbus

# Add more folders to ship with the application, here
qml_folder.source = qml
qml_folder.target = .
DEPLOYMENTFOLDERS = qml_folder

# Install icon files also to resources directory
res_files.files += sowatch64.png sowatch80.png
!isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
	res_files.path = /opt/sowatch/share
} else {
	res_files.path = /usr/share/sowatch
}
INSTALLS += res_files

# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
simulator {
	QML_IMPORT_PATH += $$[QT_INSTALL_PREFIX]/imports/simulatorHarmattan
	DEFINES += QT_INSTALL_PREFIX=\\\"$$[QT_INSTALL_PREFIX]\\\"
}

# Speed up launching on MeeGo/Harmattan when using applauncherd daemon
CONFIG += qdeclarative-boostable

# Dependency to the main Sowatch library
LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch
INCLUDEPATH += $$PWD/../libsowatch
DEPENDPATH += $$PWD/../libsowatch
!isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
	QMAKE_RPATHDIR += /opt/sowatch/lib
}

# Source files
SOURCES += main.cpp \
    watchesmodel.cpp daemonproxy.cpp \
    watchscannermodel.cpp \
    providersmodel.cc

HEADERS += \
    watchesmodel.h daemonproxy.h \
    watchscannermodel.h \
    providersmodel.h

OTHER_FILES += qml/main.qml \
	qml/MainPage.qml \
	qml/NewWatchSheet.qml \
	qml/WatchPage.qml \
	sowatch.svg sowatch_src.svg sowatch64.png sowatch80.png \
    sowatch_harmattan.desktop \
    sowatch.desktop

# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()