diff -r b78fa4cdbf2b -r 106a4bfcb866 example/flickrgalleryplugin/flickrgalleryplugin.pro --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/flickrgalleryplugin/flickrgalleryplugin.pro Thu Aug 05 16:46:37 2010 +0530 @@ -0,0 +1,44 @@ +TEMPLATE = lib + +CONFIG += plugin \ + mobility + +MOBILITY += contacts\ + location + +QT += core \ + xml \ + network + +HEADERS = flickrgalleryplugin.h + +SOURCES = flickrgalleryplugin.cpp + +TARGET = $$qtLibraryTarget(flickrgalleryplugin) + +symbian: { + # Load predefined include paths (e.g. QT_PLUGINS_BASE_DIR) to be used in the pro-files + load(data_caging_paths) + + # EPOCALLOWDLLDATA have to set true because Qt macros has initialised global data + TARGET.EPOCALLOWDLLDATA = 1 + + # Defines plugin files into Symbian .pkg package + pluginDep.sources = flickrgalleryplugin.dll + pluginDep.path = $$QT_PLUGINS_BASE_DIR/smf/plugin/gallery + DEPLOYMENT += pluginDep + + TARGET.CAPABILITY = NetworkServices \ + ReadUserData \ + WriteUserData \ + LocalServices \ + UserEnvironment \ + ReadDeviceData \ + WriteDeviceData + + LIBS += -lsmfcommon +} + +target.path += $$[QT_INSTALL_PLUGINS]/smf/plugin/gallery + +INSTALLS += target \ No newline at end of file