summaryrefslogtreecommitdiffstats
path: root/weather/weather.pro
blob: e2ec8962f7301a2ebfb884e5f38fb8d932b4dee9 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
TEMPLATE = app

QT += network xml

TARGET = weather
target.path = $$PREFIX/bin
INSTALLS += target

INSTALLS    += desktop
desktop.path  = /usr/share/applications/hildon
desktop.files  = data/weather.desktop

INSTALLS    += icon64
icon64.path  = /usr/share/icons/hicolor/64x64/apps
icon64.files  = data/icon-weather.png

INSTALLS    += inifile
inifile.path  = /usr/share/applications/
inifile.files  = data/weather.ini

RESOURCES += resources.qrc

OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
DESTDIR = build
VPATH += src

include(../shared/shared.pri)

QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5

symbian {
    LIBS += -lesock \
        -lconnmon \
        -lcone \
        -lavkon
    addFiles.sources = data/weather.ini
    addFiles.path = c:\data
    DEPLOYMENT += addFiles
    ICON = data/icon-weather.svg
    TARGET.CAPABILITY = NetworkServices
    TARGET.EPOCHEAPSIZE = 0x20000 \
        0x2000000
    TARGET.UID3 = 0xe1234567
}

HEADERS += mainview.h \
    settings.h \
    forecastview.h \
    forecasthungitem.h \
    forecaststars.h \
    forecastsnow.h \
    forecastrain.h \
    forecast.h \
    carroussel.h \
    citycarroussel.h \
    gesturebox_p.h \
    gesturebox.h \
    titlebar.h \
    cityinfodisplay.h \
    pixmaploader.h \
    loading.h \
    forecastprovider.h \
    forecastdata.h \
    bootmanager.h \
    pixmapbutton.h \
    scrollbar.h \
    contentlist.h \
    citylist.h \
    citymanager.h \
    addcitytool.h \
    painttextitem.h \
    forecastsource.h \
    demoforecastsource.h \
    networkforecastsource.h \
    yahooweatherresponse.h \
    xoapweatherresponse.h \
    symbiannetwork.h \
    fakecontentscreen.h
SOURCES += mainview.cpp \
    main.cpp \
    settings.cpp \
    forecastview.cpp \
    forecasthungitem.cpp \
    forecaststars.cpp \
    forecastsnow.cpp \
    forecastrain.cpp \
    citycarroussel.cpp \
    gesturebox.cpp \
    titlebar.cpp \
    cityinfodisplay.cpp \
    pixmaploader.cpp \
    loading.cpp \
    forecastprovider.cpp \
    bootmanager.cpp \
    pixmapbutton.cpp \
    scrollbar.cpp \
    contentlist.cpp \
    citylist.cpp \
    citymanager.cpp \
    addcitytool.cpp \
    painttextitem.cpp \
    demoforecastsource.cpp \
    networkforecastsource.cpp \
    yahooweatherresponse.cpp \
    xoapweatherresponse.cpp \
    forecastdata.cpp \
    fakecontentscreen.cpp

# Maemo 5
linux-g++-maemo5{
  # Targets for debian source and binary package creation
  debian-src.commands = dpkg-buildpackage -S -r -us -uc -d
  debian-bin.commands = dpkg-buildpackage -b -r -uc -d
  debian-all.depends = debian-src debian-bin


  # Clean all but Makefile
  compiler_clean.commands = -$(DEL_FILE) $(TARGET)

  QMAKE_EXTRA_TARGETS += debian-all debian-src debian-bin compiler_clean
}