QtMobility Reference Documentation

samplephonebook.pro Example File

samplephonebook/samplephonebook.pro
 ######################################################################
 #
 # Simple example of how to use the contacts API
 #
 ######################################################################

 TEMPLATE = app
 TARGET = samplephonebook
 include(../mobility_examples.pri)
 DEPENDPATH += .
 INCLUDEPATH += . \
                ../../src/contacts\
                ../../src/contacts/filters \
                ../../src/contacts/requests \
                ../../src/contacts/details \
                ../../src/versit

 CONFIG += mobility
 MOBILITY = contacts
 contains(mobility_modules,versit) {
     MOBILITY += versit
     DEFINES += BUILD_VERSIT
 }

 # Input
 SOURCES += main.cpp \
            phonebook.cpp \
            contacteditor.cpp \
            contactlistpage.cpp \
            filterpage.cpp
 HEADERS += phonebook.h \
            contacteditor.h \
            contactlistpage.h \
            filterpage.h

 symbian: {
     TARGET.CAPABILITY = ReadUserData \
                         WriteUserData
 }
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.