qtmobility/src/contacts/contacts.pro
changeset 1 2b40d63a9c3d
child 4 90517678cc4f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qtmobility/src/contacts/contacts.pro	Fri Apr 16 15:51:22 2010 +0300
@@ -0,0 +1,113 @@
+# #####################################################################
+# Contacts Mobility API
+# #####################################################################
+TEMPLATE = lib
+
+# Target gets fixed up in common.pri
+TARGET = QtContacts
+DEFINES += QT_BUILD_CONTACTS_LIB QT_MAKEDLL\
+    QT_ASCII_CAST_WARNINGS
+
+include(../../common.pri)
+
+include(details/details.pri)
+include(engines/engines.pri)
+include(filters/filters.pri)
+include(requests/requests.pri)
+
+# Input
+PUBLIC_HEADERS += \
+    qcontact.h \
+    qcontactabstractrequest.h \
+    qcontactaction.h \
+    qcontactactiondescriptor.h \
+    qcontactactionfactory.h \
+    qcontactchangeset.h \
+    qcontactdetail.h \
+    qcontactdetaildefinition.h \
+    qcontactdetailfielddefinition.h \
+    qcontactfilter.h \
+    qcontactid.h \
+    qcontactmanager.h \
+    qcontactmanagerengine.h \
+    qcontactmanagerenginefactory.h \
+    qcontactrelationship.h \
+    qcontactsortorder.h \
+    qtcontactsglobal.h \
+    qtcontacts.h
+
+# Private Headers
+PRIVATE_HEADERS += \
+    qcontact_p.h \
+    qcontactabstractrequest_p.h \
+    qcontactactiondescriptor_p.h \
+    qcontactchangeset_p.h \
+    qcontactdetail_p.h \
+    qcontactdetaildefinition_p.h \
+    qcontactdetailfielddefinition_p.h \
+    qcontactfilter_p.h \
+    qcontactid_p.h \
+    qcontactmanager_p.h \
+    qcontactrelationship_p.h \
+    qcontactsortorder_p.h
+
+SOURCES += \
+    qcontact.cpp \
+    qcontactabstractrequest.cpp \
+    qcontactaction.cpp \
+    qcontactactiondescriptor.cpp \
+    qcontactactionfactory.cpp \
+    qcontactchangeset.cpp \
+    qcontactdetail.cpp \
+    qcontactdetaildefinition.cpp \
+    qcontactdetailfielddefinition.cpp \
+    qcontactfilter.cpp \
+    qcontactid.cpp \
+    qcontactmanager_p.cpp \
+    qcontactmanager.cpp \
+    qcontactmanagerengine.cpp \
+    qcontactmanagerenginefactory.cpp \
+    qcontactrelationship.cpp \
+    qcontactsortorder.cpp
+
+HEADERS += \
+    $$PUBLIC_HEADERS \
+    $$PRIVATE_HEADERS
+
+maemo6 {
+    isEmpty(CONTACTS_DEFAULT_ENGINE): CONTACTS_DEFAULT_ENGINE=tracker
+}
+
+maemo5|maemo6 {
+    CONFIG += create_pc create_prl
+    QMAKE_PKGCONFIG_DESCRIPTION = Qt Mobility - Contacts API
+    pkgconfig.path = $$QT_MOBILITY_LIB/pkgconfig
+    pkgconfig.files = QtContacts.pc
+
+    INSTALLS += pkgconfig
+}
+
+wince* {
+    isEmpty(CONTACTS_DEFAULT_ENGINE): CONTACTS_DEFAULT_ENGINE=wince
+}
+
+symbian {
+    isEmpty(CONTACTS_DEFAULT_ENGINE): CONTACTS_DEFAULT_ENGINE=symbian
+
+    TARGET.EPOCALLOWDLLDATA = 1
+    TARGET.CAPABILITY = ALL -TCB
+    TARGET.UID3 = 0x2002AC7A
+
+    LIBS += -lefsrv
+
+    ### Contacts
+    # Main library
+    CONTACTS_DEPLOYMENT.sources = QtContacts.dll
+    CONTACTS_DEPLOYMENT.path = \sys\bin
+    DEPLOYMENT += CONTACTS_DEPLOYMENT
+}
+
+!isEmpty(CONTACTS_DEFAULT_ENGINE): DEFINES += Q_CONTACTS_DEFAULT_ENGINE=$$CONTACTS_DEFAULT_ENGINE
+
+CONFIG += app
+include(../../features/deploy.pri)