Initial Release
[marketstoday] / src / src.pro
1 TEMPLATE = app
2
3 QT += script \
4     declarative \
5     sql
6
7 TARGET = marketstoday
8 HEADERS += \
9     cpp/marketstodayqmlview.h \
10     cpp/configqmlview.h \
11     cpp/logutility.h
12 SOURCES += cpp/main.cpp \
13     cpp/marketstodayqmlview.cpp \
14     cpp/configqmlview.cpp
15 VPATH += cpp
16
17 MOC_DIR = cpp/.mocs
18 OBJECTS_DIR = cpp/.objs
19
20 OTHER_FILES += qml/MarketsToday.qml \
21     qml/Config.qml \
22     qml/ConfigOptionsComponent.qml \
23     qml/ConfigParametersComponent.qml \
24     qml/ConfigTickersComponent.qml \
25     qml/StockQuoteDelegate.qml \
26     qml/StockQuotesComponent.qml \
27     qml/Library/TitleBar.qml \
28     qml/Library/ToolBar.qml \
29     qml/Library/js/DBUtility.js \
30     qml/Library/js/ISODate.js \
31     qml/Library/js/Common.js
32
33 RESOURCES += \
34     resources.qrc
35
36 INSTALLDIR = /../debian/marketstoday
37
38 symbian {
39
40     TARGET.UID3 = 0xE6159209
41     # Allow network access on Symbian
42     TARGET.CAPABILITY += NetworkServices
43 }
44
45 unix {
46    INSTALLS += target desktop icon48
47    target.path = $$INTSALLDIR/opt/marketstoday/
48    desktop.path = /usr/share/applications/hildon-home
49    desktop.files += data/marketstoday.desktop
50    icon48.path = /usr/share/icons/hicolor/48x48/apps
51    icon48.files += data/icons/marketstoday.png
52 }
53
54 # Include Qt Maemo 5 Home screen widget adaptor
55 include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)