QtMobility Reference Documentation

filemanagerplugin.pro Example File

filemanagerplugin/filemanagerplugin.pro
 TEMPLATE = lib
 CONFIG += plugin
 PLUGIN_TYPE=serviceframework
 INCLUDEPATH += ../../src/serviceframework
 HEADERS += filemanagerplugin.h \
            filemanagerstorage.h \
            filemanagertransfer.h
 SOURCES += filemanagerplugin.cpp \
            filemanagerstorage.cpp \
            filemanagertransfer.cpp
 TARGET = serviceframework_filemanagerplugin
 DESTDIR = .

 include(../mobility_examples.pri)
 CONFIG += mobility
 MOBILITY = serviceframework

 symbian {
     load(data_caging_paths)
     pluginDep.sources = serviceframework_filemanagerplugin.dll
     pluginDep.path = $$QT_PLUGINS_BASE_DIR
     DEPLOYMENT += pluginDep

     xmlautoimport.path = /private/2002AC7F/import/
     xmlautoimport.sources = filemanagerservice.xml
     DEPLOYMENT += xmlautoimport

     TARGET.EPOCALLOWDLLDATA = 1
     TARGET.CAPABILITY = LocalServices Location NetworkServices ReadUserData WriteUserData UserEnvironment
 }

 xml.path = $$QT_MOBILITY_EXAMPLES/xmldata
 xml.files = filemanagerservice.xml
 INSTALLS += xml

 contains(MEEGO_EDITION,harmattan) {
     xml.path = /opt/servicebrowser/bin/xmldata
     xml.files = filemanagerservice.xml
     INSTALLS += xml

     target.path = /usr/lib/qt4/plugins/serviceframework/
     INSTALLS += target
 }
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.