qtmobility/src/contacts/contacts.pro
changeset 1 2b40d63a9c3d
child 4 90517678cc4f
equal deleted inserted replaced
0:cfcbf08528c4 1:2b40d63a9c3d
       
     1 # #####################################################################
       
     2 # Contacts Mobility API
       
     3 # #####################################################################
       
     4 TEMPLATE = lib
       
     5 
       
     6 # Target gets fixed up in common.pri
       
     7 TARGET = QtContacts
       
     8 DEFINES += QT_BUILD_CONTACTS_LIB QT_MAKEDLL\
       
     9     QT_ASCII_CAST_WARNINGS
       
    10 
       
    11 include(../../common.pri)
       
    12 
       
    13 include(details/details.pri)
       
    14 include(engines/engines.pri)
       
    15 include(filters/filters.pri)
       
    16 include(requests/requests.pri)
       
    17 
       
    18 # Input
       
    19 PUBLIC_HEADERS += \
       
    20     qcontact.h \
       
    21     qcontactabstractrequest.h \
       
    22     qcontactaction.h \
       
    23     qcontactactiondescriptor.h \
       
    24     qcontactactionfactory.h \
       
    25     qcontactchangeset.h \
       
    26     qcontactdetail.h \
       
    27     qcontactdetaildefinition.h \
       
    28     qcontactdetailfielddefinition.h \
       
    29     qcontactfilter.h \
       
    30     qcontactid.h \
       
    31     qcontactmanager.h \
       
    32     qcontactmanagerengine.h \
       
    33     qcontactmanagerenginefactory.h \
       
    34     qcontactrelationship.h \
       
    35     qcontactsortorder.h \
       
    36     qtcontactsglobal.h \
       
    37     qtcontacts.h
       
    38 
       
    39 # Private Headers
       
    40 PRIVATE_HEADERS += \
       
    41     qcontact_p.h \
       
    42     qcontactabstractrequest_p.h \
       
    43     qcontactactiondescriptor_p.h \
       
    44     qcontactchangeset_p.h \
       
    45     qcontactdetail_p.h \
       
    46     qcontactdetaildefinition_p.h \
       
    47     qcontactdetailfielddefinition_p.h \
       
    48     qcontactfilter_p.h \
       
    49     qcontactid_p.h \
       
    50     qcontactmanager_p.h \
       
    51     qcontactrelationship_p.h \
       
    52     qcontactsortorder_p.h
       
    53 
       
    54 SOURCES += \
       
    55     qcontact.cpp \
       
    56     qcontactabstractrequest.cpp \
       
    57     qcontactaction.cpp \
       
    58     qcontactactiondescriptor.cpp \
       
    59     qcontactactionfactory.cpp \
       
    60     qcontactchangeset.cpp \
       
    61     qcontactdetail.cpp \
       
    62     qcontactdetaildefinition.cpp \
       
    63     qcontactdetailfielddefinition.cpp \
       
    64     qcontactfilter.cpp \
       
    65     qcontactid.cpp \
       
    66     qcontactmanager_p.cpp \
       
    67     qcontactmanager.cpp \
       
    68     qcontactmanagerengine.cpp \
       
    69     qcontactmanagerenginefactory.cpp \
       
    70     qcontactrelationship.cpp \
       
    71     qcontactsortorder.cpp
       
    72 
       
    73 HEADERS += \
       
    74     $$PUBLIC_HEADERS \
       
    75     $$PRIVATE_HEADERS
       
    76 
       
    77 maemo6 {
       
    78     isEmpty(CONTACTS_DEFAULT_ENGINE): CONTACTS_DEFAULT_ENGINE=tracker
       
    79 }
       
    80 
       
    81 maemo5|maemo6 {
       
    82     CONFIG += create_pc create_prl
       
    83     QMAKE_PKGCONFIG_DESCRIPTION = Qt Mobility - Contacts API
       
    84     pkgconfig.path = $$QT_MOBILITY_LIB/pkgconfig
       
    85     pkgconfig.files = QtContacts.pc
       
    86 
       
    87     INSTALLS += pkgconfig
       
    88 }
       
    89 
       
    90 wince* {
       
    91     isEmpty(CONTACTS_DEFAULT_ENGINE): CONTACTS_DEFAULT_ENGINE=wince
       
    92 }
       
    93 
       
    94 symbian {
       
    95     isEmpty(CONTACTS_DEFAULT_ENGINE): CONTACTS_DEFAULT_ENGINE=symbian
       
    96 
       
    97     TARGET.EPOCALLOWDLLDATA = 1
       
    98     TARGET.CAPABILITY = ALL -TCB
       
    99     TARGET.UID3 = 0x2002AC7A
       
   100 
       
   101     LIBS += -lefsrv
       
   102 
       
   103     ### Contacts
       
   104     # Main library
       
   105     CONTACTS_DEPLOYMENT.sources = QtContacts.dll
       
   106     CONTACTS_DEPLOYMENT.path = \sys\bin
       
   107     DEPLOYMENT += CONTACTS_DEPLOYMENT
       
   108 }
       
   109 
       
   110 !isEmpty(CONTACTS_DEFAULT_ENGINE): DEFINES += Q_CONTACTS_DEFAULT_ENGINE=$$CONTACTS_DEFAULT_ENGINE
       
   111 
       
   112 CONFIG += app
       
   113 include(../../features/deploy.pri)