17
|
1 |
TEMPLATE = lib
|
|
2 |
|
|
3 |
CONFIG += plugin \
|
|
4 |
mobility
|
|
5 |
|
|
6 |
MOBILITY += contacts\
|
|
7 |
location
|
|
8 |
|
|
9 |
QT += core \
|
|
10 |
xml \
|
|
11 |
network
|
|
12 |
|
|
13 |
HEADERS = flickrgalleryplugin.h
|
|
14 |
|
|
15 |
SOURCES = flickrgalleryplugin.cpp
|
|
16 |
|
|
17 |
TARGET = $$qtLibraryTarget(flickrgalleryplugin)
|
|
18 |
|
|
19 |
symbian: {
|
|
20 |
# Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files
|
|
21 |
load(data_caging_paths)
|
|
22 |
|
|
23 |
# EPOCALLOWDLLDATA have to set true because Qt macros has initialised global data
|
|
24 |
TARGET.EPOCALLOWDLLDATA = 1
|
|
25 |
|
|
26 |
# Defines plugin files into Symbian .pkg package
|
|
27 |
pluginDep.sources = flickrgalleryplugin.dll
|
|
28 |
pluginDep.path = $$QT_PLUGINS_BASE_DIR/smf/plugin/gallery
|
|
29 |
DEPLOYMENT += pluginDep
|
|
30 |
|
|
31 |
TARGET.CAPABILITY = NetworkServices \
|
|
32 |
ReadUserData \
|
|
33 |
WriteUserData \
|
|
34 |
LocalServices \
|
|
35 |
UserEnvironment \
|
|
36 |
ReadDeviceData \
|
|
37 |
WriteDeviceData
|
|
38 |
|
|
39 |
LIBS += -lsmfcommon
|
|
40 |
}
|
|
41 |
|
|
42 |
target.path += $$[QT_INSTALL_PLUGINS]/smf/plugin/gallery
|
|
43 |
|
|
44 |
INSTALLS += target |