qtmobility/examples/notesmanagerplugin/notesmanagerplugin.pro
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
     1 TEMPLATE = lib
     1 TEMPLATE = lib
     2 CONFIG += plugin
     2 CONFIG += plugin
     3 INCLUDEPATH += ../../src/serviceframework
     3 INCLUDEPATH += ../../src/serviceframework
     4 HEADERS += notesmanagerplugin.h \
     4 HEADERS += note.h \
       
     5            notesmanagerplugin.h \
     5            notesmanager.h
     6            notesmanager.h
     6 SOURCES += notesmanagerplugin.cpp \
     7 SOURCES += notesmanagerplugin.cpp \
     7            notesmanager.cpp
     8            notesmanager.cpp
     8 QT += sql
     9 QT += sql
     9 TARGET = serviceframework_notesmanagerplugin
    10 TARGET = serviceframework_notesmanagerplugin
    10 DESTDIR = .
    11 DESTDIR = .
       
    12 
       
    13 contains(QT_CONFIG, declarative):DEFINES += DECLARATIVE
    11 
    14 
    12 include(../examples.pri)
    15 include(../examples.pri)
    13 CONFIG += mobility
    16 CONFIG += mobility
    14 MOBILITY = serviceframework
    17 MOBILITY = serviceframework
    15 
    18 
    18     pluginDep.sources = serviceframework_notesmanagerplugin.dll
    21     pluginDep.sources = serviceframework_notesmanagerplugin.dll
    19     pluginDep.path = $$QT_PLUGINS_BASE_DIR    
    22     pluginDep.path = $$QT_PLUGINS_BASE_DIR    
    20     DEPLOYMENT += pluginDep
    23     DEPLOYMENT += pluginDep
    21 
    24 
    22     TARGET.EPOCALLOWDLLDATA = 1
    25     TARGET.EPOCALLOWDLLDATA = 1
    23     TARGET.CAPABILITY = ALL -TCB
    26     TARGET.CAPABILITY = LocalServices Location NetworkServices ReadUserData UserEnvironment WriteUserData
    24 }
    27 }
    25 
    28 
    26 xml.path = $$DESTDIR/xmldata
    29 xml.path = $$DESTDIR/xmldata
    27 xml.files = notesmanagerservice.xml
    30 xml.files = notesmanagerservice.xml
    28 xml.CONFIG = no_link no_dependencies explicit_dependencies no_build combine ignore_no_exist no_clean
    31 xml.CONFIG = no_link no_dependencies explicit_dependencies no_build combine ignore_no_exist no_clean