author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 02 Feb 2010 00:43:10 +0200 | |
changeset 3 | 41300fa6a67c |
parent 0 | 1918ee327afb |
child 4 | 3b1da2848fc7 |
permissions | -rw-r--r-- |
0 | 1 |
TEMPLATE = app |
2 |
TARGET = |
|
3 |
DEPENDPATH += . |
|
4 |
INCLUDEPATH += . |
|
5 |
||
6 |
# Input |
|
7 |
HEADERS += \ |
|
8 |
demoapplication.h \ |
|
9 |
fluidlauncher.h \ |
|
10 |
pictureflow.h \ |
|
11 |
slideshow.h |
|
12 |
||
13 |
SOURCES += \ |
|
14 |
demoapplication.cpp \ |
|
15 |
fluidlauncher.cpp \ |
|
16 |
main.cpp \ |
|
17 |
pictureflow.cpp \ |
|
18 |
slideshow.cpp |
|
19 |
||
20 |
embedded{ |
|
21 |
target.path = $$[QT_INSTALL_DEMOS]/embedded/fluidlauncher |
|
22 |
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html config.xml screenshots slides |
|
23 |
sources.path = $$[QT_INSTALL_DEMOS]/embedded/fluidlauncher |
|
24 |
INSTALLS += target sources |
|
25 |
} |
|
26 |
||
27 |
wince*{ |
|
28 |
QT += svg |
|
29 |
||
30 |
BUILD_DIR = release |
|
31 |
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { |
|
32 |
BUILD_DIR = debug |
|
33 |
} |
|
34 |
||
35 |
executables.sources = \ |
|
36 |
$$QT_BUILD_TREE/demos/embedded/embeddedsvgviewer/$${BUILD_DIR}/embeddedsvgviewer.exe \ |
|
37 |
$$QT_BUILD_TREE/demos/embedded/styledemo/$${BUILD_DIR}/styledemo.exe \ |
|
38 |
$$QT_BUILD_TREE/demos/deform/$${BUILD_DIR}/deform.exe \ |
|
39 |
$$QT_BUILD_TREE/demos/pathstroke/$${BUILD_DIR}/pathstroke.exe \ |
|
40 |
$$QT_BUILD_TREE/examples/graphicsview/elasticnodes/$${BUILD_DIR}/elasticnodes.exe \ |
|
41 |
$$QT_BUILD_TREE/examples/widgets/wiggly/$${BUILD_DIR}/wiggly.exe \ |
|
42 |
$$QT_BUILD_TREE/examples/painting/concentriccircles/$${BUILD_DIR}/concentriccircles.exe \ |
|
43 |
$$QT_BUILD_TREE/examples/draganddrop/$${BUILD_DIR}/fridgemagnets.exe |
|
44 |
||
45 |
executables.path = . |
|
46 |
||
47 |
files.sources = $$PWD/screenshots $$PWD/slides $$PWD/../embeddedsvgviewer/shapes.svg |
|
48 |
files.path = . |
|
49 |
||
50 |
config.sources = $$PWD/config_wince/config.xml |
|
51 |
config.path = . |
|
52 |
||
53 |
DEPLOYMENT += config files executables |
|
54 |
||
55 |
DEPLOYMENT_PLUGIN += qgif qjpeg qmng qsvg |
|
56 |
} |
|
57 |
||
58 |
symbian { |
|
59 |
load(data_caging_paths) |
|
60 |
||
61 |
TARGET.UID3 = 0xA000A641 |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
62 |
ICON = $$QT_SOURCE_TREE/src/s60installs/qt.svg |
0 | 63 |
|
64 |
executables.sources = \ |
|
65 |
styledemo.exe \ |
|
66 |
deform.exe \ |
|
67 |
pathstroke.exe \ |
|
68 |
wiggly.exe \ |
|
69 |
qftp.exe \ |
|
70 |
saxbookmarks.exe \ |
|
71 |
desktopservices.exe \ |
|
72 |
fridgemagnets.exe \ |
|
73 |
softkeys.exe \ |
|
74 |
raycasting.exe \ |
|
75 |
flickable.exe \ |
|
76 |
digiflip.exe \ |
|
77 |
lightmaps.exe \ |
|
78 |
flightinfo.exe |
|
79 |
||
80 |
executables.path = /sys/bin |
|
81 |
||
82 |
reg_resource.sources = \ |
|
83 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/styledemo_reg.rsc \ |
|
84 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/deform_reg.rsc \ |
|
85 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/pathstroke_reg.rsc \ |
|
86 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/wiggly_reg.rsc \ |
|
87 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/qftp_reg.rsc\ |
|
88 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/saxbookmarks_reg.rsc \ |
|
89 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/desktopservices_reg.rsc \ |
|
90 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/fridgemagnets_reg.rsc \ |
|
91 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/softkeys_reg.rsc \ |
|
92 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/raycasting_reg.rsc \ |
|
93 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/flickable_reg.rsc \ |
|
94 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/digiflip_reg.rsc \ |
|
95 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/lightmaps_reg.rsc \ |
|
96 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/flightinfo_reg.rsc |
|
97 |
||
98 |
contains(QT_CONFIG, phonon) { |
|
99 |
reg_resource.sources += $${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/qmediaplayer_reg.rsc |
|
100 |
} |
|
101 |
||
102 |
||
103 |
reg_resource.path = $$REG_RESOURCE_IMPORT_DIR |
|
104 |
||
105 |
resource.sources = \ |
|
106 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/styledemo.rsc \ |
|
107 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/deform.rsc \ |
|
108 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/pathstroke.rsc \ |
|
109 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/wiggly.rsc \ |
|
110 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/qftp.rsc\ |
|
111 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/saxbookmarks.rsc \ |
|
112 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/desktopservices.rsc \ |
|
113 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/fridgemagnets.rsc \ |
|
114 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/softkeys.rsc \ |
|
115 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/raycasting.rsc \ |
|
116 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/flickable.rsc \ |
|
117 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/digiflip.rsc \ |
|
118 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/lightmaps.rsc \ |
|
119 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/flightinfo.rsc |
|
120 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
121 |
|
0 | 122 |
resource.path = $$APP_RESOURCE_DIR |
123 |
||
124 |
mifs.sources = \ |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
125 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/fluidlauncher.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
126 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/styledemo.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
127 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/deform.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
128 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/pathstroke.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
129 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/wiggly.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
130 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/qftp.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
131 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/saxbookmarks.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
132 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/desktopservices.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
133 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/fridgemagnets.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
134 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/softkeys.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
135 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/raycasting.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
136 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/flickable.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
137 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/digiflip.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
138 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/lightmaps.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
139 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/flightinfo.mif |
0 | 140 |
mifs.path = $$APP_RESOURCE_DIR |
141 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
142 |
contains(QT_CONFIG, svg) { |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
143 |
executables.sources += \ |
0 | 144 |
embeddedsvgviewer.exe \ |
145 |
weatherinfo.exe |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
146 |
|
0 | 147 |
reg_resource.sources += \ |
148 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/embeddedsvgviewer_reg.rsc \ |
|
149 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/weatherinfo_reg.rsc |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
150 |
|
0 | 151 |
resource.sources += \ |
152 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/embeddedsvgviewer.rsc \ |
|
153 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/weatherinfo.rsc |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
154 |
|
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
155 |
mifs.sources += \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
156 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/embeddedsvgviewer.mif \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
157 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/weatherinfo.mif |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
158 |
|
0 | 159 |
} |
160 |
contains(QT_CONFIG, webkit) { |
|
161 |
executables.sources += anomaly.exe |
|
162 |
reg_resource.sources += $${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/anomaly_reg.rsc |
|
163 |
resource.sources += $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/anomaly.rsc |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
164 |
mifs.sources += \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
165 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/anomaly.mif |
0 | 166 |
} |
167 |
||
168 |
contains(QT_CONFIG, phonon) { |
|
169 |
executables.sources += qmediaplayer.exe |
|
170 |
resource.sources += $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/qmediaplayer.rsc |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
171 |
mifs.sources += \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
172 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/qmediaplayer.mif |
0 | 173 |
} |
174 |
||
175 |
contains(QT_CONFIG, script) { |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
176 |
executables.sources += context2d.exe |
0 | 177 |
reg_resource.sources += $${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/context2d_reg.rsc |
178 |
resource.sources += $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/context2d.rsc |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
179 |
mifs.sources += \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
180 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/context2d.mif |
0 | 181 |
} |
182 |
||
183 |
files.sources = $$PWD/screenshots $$PWD/slides |
|
184 |
files.path = . |
|
185 |
||
186 |
config.sources = $$PWD/config_s60/config.xml |
|
187 |
config.path = . |
|
188 |
||
189 |
viewerimages.sources = $$PWD/../embeddedsvgviewer/shapes.svg |
|
190 |
viewerimages.path = /data/images/qt/demos/embeddedsvgviewer |
|
191 |
||
192 |
# demos/mediaplayer make also use of these files. |
|
193 |
desktopservices_music.sources = \ |
|
194 |
$$PWD/../desktopservices/data/*.mp3 \ |
|
195 |
$$PWD/../desktopservices/data/*.wav |
|
196 |
desktopservices_music.path = /data/sounds |
|
197 |
||
198 |
desktopservices_images.sources = $$PWD/../desktopservices/data/*.png |
|
199 |
desktopservices_images.path = /data/images |
|
200 |
||
201 |
saxbookmarks.sources = $$PWD/../../../examples/xml/saxbookmarks/frank.xbel |
|
202 |
saxbookmarks.sources += $$PWD/../../../examples/xml/saxbookmarks/jennifer.xbel |
|
203 |
saxbookmarks.path = /data/qt/saxbookmarks |
|
204 |
||
205 |
DEPLOYMENT += config files executables viewerimages saxbookmarks reg_resource resource \ |
|
206 |
mifs desktopservices_music desktopservices_images |
|
207 |
||
208 |
TARGET.EPOCHEAPSIZE = 100000 20000000 |
|
209 |
} |