qtmobility/examples/notesmanagerplugin/notesmanagerplugin.pro
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
--- a/qtmobility/examples/notesmanagerplugin/notesmanagerplugin.pro	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/examples/notesmanagerplugin/notesmanagerplugin.pro	Mon May 03 13:18:40 2010 +0300
@@ -1,7 +1,8 @@
 TEMPLATE = lib
 CONFIG += plugin
 INCLUDEPATH += ../../src/serviceframework
-HEADERS += notesmanagerplugin.h \
+HEADERS += note.h \
+           notesmanagerplugin.h \
            notesmanager.h
 SOURCES += notesmanagerplugin.cpp \
            notesmanager.cpp
@@ -9,6 +10,8 @@
 TARGET = serviceframework_notesmanagerplugin
 DESTDIR = .
 
+contains(QT_CONFIG, declarative):DEFINES += DECLARATIVE
+
 include(../examples.pri)
 CONFIG += mobility
 MOBILITY = serviceframework
@@ -20,7 +23,7 @@
     DEPLOYMENT += pluginDep
 
     TARGET.EPOCALLOWDLLDATA = 1
-    TARGET.CAPABILITY = ALL -TCB
+    TARGET.CAPABILITY = LocalServices Location NetworkServices ReadUserData UserEnvironment WriteUserData
 }
 
 xml.path = $$DESTDIR/xmldata