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
|
|
62 |
ICON = ../../../src/s60installs/qt.svg
|
|
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 |
drilldown.exe \
|
|
74 |
softkeys.exe \
|
|
75 |
raycasting.exe \
|
|
76 |
flickable.exe \
|
|
77 |
digiflip.exe \
|
|
78 |
lightmaps.exe \
|
|
79 |
flightinfo.exe
|
|
80 |
|
|
81 |
executables.path = /sys/bin
|
|
82 |
|
|
83 |
reg_resource.sources = \
|
|
84 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/styledemo_reg.rsc \
|
|
85 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/deform_reg.rsc \
|
|
86 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/pathstroke_reg.rsc \
|
|
87 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/wiggly_reg.rsc \
|
|
88 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/qftp_reg.rsc\
|
|
89 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/saxbookmarks_reg.rsc \
|
|
90 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/desktopservices_reg.rsc \
|
|
91 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/fridgemagnets_reg.rsc \
|
|
92 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/drilldown_reg.rsc \
|
|
93 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/softkeys_reg.rsc \
|
|
94 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/raycasting_reg.rsc \
|
|
95 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/flickable_reg.rsc \
|
|
96 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/digiflip_reg.rsc \
|
|
97 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/lightmaps_reg.rsc \
|
|
98 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/flightinfo_reg.rsc
|
|
99 |
|
|
100 |
contains(QT_CONFIG, phonon) {
|
|
101 |
reg_resource.sources += $${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/qmediaplayer_reg.rsc
|
|
102 |
}
|
|
103 |
|
|
104 |
|
|
105 |
reg_resource.path = $$REG_RESOURCE_IMPORT_DIR
|
|
106 |
|
|
107 |
resource.sources = \
|
|
108 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/styledemo.rsc \
|
|
109 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/deform.rsc \
|
|
110 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/pathstroke.rsc \
|
|
111 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/wiggly.rsc \
|
|
112 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/qftp.rsc\
|
|
113 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/saxbookmarks.rsc \
|
|
114 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/desktopservices.rsc \
|
|
115 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/fridgemagnets.rsc \
|
|
116 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/drilldown.rsc \
|
|
117 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/softkeys.rsc \
|
|
118 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/raycasting.rsc \
|
|
119 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/flickable.rsc \
|
|
120 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/digiflip.rsc \
|
|
121 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/lightmaps.rsc \
|
|
122 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/flightinfo.rsc
|
|
123 |
|
|
124 |
|
|
125 |
resource.path = $$APP_RESOURCE_DIR
|
|
126 |
|
|
127 |
mifs.sources = \
|
|
128 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/0xA000A641.mif \ #fluidlauncher
|
|
129 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/0xA000C611.mif #desktopservices
|
|
130 |
mifs.path = $$APP_RESOURCE_DIR
|
|
131 |
|
|
132 |
contains(QT_CONFIG, svg) {
|
|
133 |
executables.sources += \
|
|
134 |
embeddedsvgviewer.exe \
|
|
135 |
weatherinfo.exe
|
|
136 |
|
|
137 |
reg_resource.sources += \
|
|
138 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/embeddedsvgviewer_reg.rsc \
|
|
139 |
$${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/weatherinfo_reg.rsc
|
|
140 |
|
|
141 |
resource.sources += \
|
|
142 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/embeddedsvgviewer.rsc \
|
|
143 |
$${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/weatherinfo.rsc
|
|
144 |
}
|
|
145 |
contains(QT_CONFIG, webkit) {
|
|
146 |
executables.sources += anomaly.exe
|
|
147 |
reg_resource.sources += $${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/anomaly_reg.rsc
|
|
148 |
resource.sources += $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/anomaly.rsc
|
|
149 |
}
|
|
150 |
|
|
151 |
contains(QT_CONFIG, phonon) {
|
|
152 |
executables.sources += qmediaplayer.exe
|
|
153 |
resource.sources += $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/qmediaplayer.rsc
|
|
154 |
}
|
|
155 |
|
|
156 |
contains(QT_CONFIG, script) {
|
|
157 |
executables.sources += context2d.exe
|
|
158 |
reg_resource.sources += $${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/context2d_reg.rsc
|
|
159 |
resource.sources += $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/context2d.rsc
|
|
160 |
}
|
|
161 |
|
|
162 |
files.sources = $$PWD/screenshots $$PWD/slides
|
|
163 |
files.path = .
|
|
164 |
|
|
165 |
config.sources = $$PWD/config_s60/config.xml
|
|
166 |
config.path = .
|
|
167 |
|
|
168 |
viewerimages.sources = $$PWD/../embeddedsvgviewer/shapes.svg
|
|
169 |
viewerimages.path = /data/images/qt/demos/embeddedsvgviewer
|
|
170 |
|
|
171 |
# demos/mediaplayer make also use of these files.
|
|
172 |
desktopservices_music.sources = \
|
|
173 |
$$PWD/../desktopservices/data/*.mp3 \
|
|
174 |
$$PWD/../desktopservices/data/*.wav
|
|
175 |
desktopservices_music.path = /data/sounds
|
|
176 |
|
|
177 |
desktopservices_images.sources = $$PWD/../desktopservices/data/*.png
|
|
178 |
desktopservices_images.path = /data/images
|
|
179 |
|
|
180 |
saxbookmarks.sources = $$PWD/../../../examples/xml/saxbookmarks/frank.xbel
|
|
181 |
saxbookmarks.sources += $$PWD/../../../examples/xml/saxbookmarks/jennifer.xbel
|
|
182 |
saxbookmarks.path = /data/qt/saxbookmarks
|
|
183 |
|
|
184 |
DEPLOYMENT += config files executables viewerimages saxbookmarks reg_resource resource \
|
|
185 |
mifs desktopservices_music desktopservices_images
|
|
186 |
|
|
187 |
TARGET.EPOCHEAPSIZE = 100000 20000000
|
|
188 |
}
|