5 exists($$QMAKE_INCDIR_QT"/../qmsystem2/qmkeys.h"){
6 DEFINES += Q_WS_MAEMO_6
16 cpp/marketstodayqmlview.h \
19 cpp/connectionutility.h \
22 SOURCES += cpp/main.cpp \
23 cpp/marketstodayqmlview.cpp \
28 OBJECTS_DIR = cpp/.objs
32 qml/ConfigOptionsComponent.qml \
33 qml/ConfigParametersComponent.qml \
34 qml/ConfigTickersComponent.qml \
35 qml/Library/TitleBar.qml \
36 qml/Library/ToolBar.qml \
37 qml/Library/js/DBUtility.js \
38 qml/Library/js/ISODate.js \
39 qml/Library/js/Common.js \
40 qml/Library/js/XMLParser.js \
41 qml/Library/js/CoreLogic.js \
42 qml/MarketsTodayWidget.qml \
43 qml/MarketsTodayApp.qml \
44 qml/Library/MenuBar.qml \
45 qml/Library/Button.qml \
46 qml/StockDetailsComponent.qml \
47 qml/StockDetailsRow.qml \
48 qml/Library/Loading.qml \
49 qml/MarketsTodayLegacyApp.qml \
50 qml/Library/CustomGestureArea.qml \
51 qml/StockDetailsComponentLegacy.qml
58 TARGET.UID3 = 0xE6159209
59 # Allow network access on Symbian
60 TARGET.CAPABILITY += NetworkServices ReadUserData
63 INSTALLDIR = /../debian/marketstoday
64 INSTALLS += target app icon26 icon32 icon48 icon64 appicon
66 # Maemo 5 specific paths (The exists function is used to make sure the widget is deployed to FREMANTLE_X86 target in Scratchbox
67 # Scratchbox is not identified as maemo or maemo5 platform
68 maemo5 | exists(/usr/bin/hildon-home) {
69 message("Deploying widget")
72 widget.path = /usr/share/applications/hildon-home
73 widget.files += data/marketstoday-widget.desktop
74 app.path = /usr/share/applications/hildon
75 app.files += data/marketstoday-app.desktop
78 app.path = /usr/share/applications
79 app.files += data/marketstoday-app-meego.desktop
82 target.path = $$INTSALLDIR/opt/marketstoday/
84 icon26.path = /usr/share/icons/hicolor/26x26/apps
85 icon26.files += data/icons/26x26/marketstoday.png
87 icon32.path = /usr/share/icons/hicolor/32x32/apps
88 icon32.files += data/icons/32x32/marketstoday.png
90 icon48.path = /usr/share/icons/hicolor/48x48/apps
91 icon48.files += data/icons/48x48/marketstoday.png
93 icon64.path = /usr/share/icons/hicolor/64x64/apps
94 icon64.files += data/icons/64x64/marketstoday.png
96 appicon.path = /usr/share/icons/hicolor/80x80/apps
97 appicon.files += data/icons/marketstoday_icon.png
100 # Include Qt Maemo 5 Home screen widget adaptor
101 include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)