src/versit/versit.pro
changeset 5 603d3f8b6302
parent 0 876b1a06bc25
equal deleted inserted replaced
3:e4ebb16b39ea 5:603d3f8b6302
     5 TARGET = QtVersit
     5 TARGET = QtVersit
     6 include(../../common.pri)
     6 include(../../common.pri)
     7 
     7 
     8 DEFINES += QT_BUILD_VERSIT_LIB QT_MAKEDLL QT_ASCII_CAST_WARNINGS
     8 DEFINES += QT_BUILD_VERSIT_LIB QT_MAKEDLL QT_ASCII_CAST_WARNINGS
     9 
     9 
    10 CONFIG += mobility
    10 qtAddLibrary(QtContacts)
    11 MOBILITY = contacts
       
    12 
    11 
    13 # Contacts Includepath
    12 # Contacts Includepath
    14 INCLUDEPATH += . \
    13 INCLUDEPATH += . \
    15                ../contacts \
    14                ../contacts \
    16                ../contacts/requests \
    15                ../contacts/requests \
    23     qversitproperty.h \
    22     qversitproperty.h \
    24     qversitreader.h \
    23     qversitreader.h \
    25     qversitwriter.h \
    24     qversitwriter.h \
    26     qversitcontactexporter.h \
    25     qversitcontactexporter.h \
    27     qversitcontactimporter.h \
    26     qversitcontactimporter.h \
    28     qversitresourcehandler.h
    27     qversitcontacthandler.h \
       
    28     qversitresourcehandler.h \
    29 
    29 
    30 # Private Headers
    30 # Private Headers
    31 PRIVATE_HEADERS += \
    31 PRIVATE_HEADERS += \
    32     qvcardbackuphandlers_p.h \
       
    33     qversitdocument_p.h \
    32     qversitdocument_p.h \
    34     qversitdocumentwriter_p.h \
    33     qversitdocumentwriter_p.h \
    35     qversitproperty_p.h \
    34     qversitproperty_p.h \
    36     qversitreader_p.h \
    35     qversitreader_p.h \
    37     qversitwriter_p.h \
    36     qversitwriter_p.h \
    38     qvcard21writer_p.h \
    37     qvcard21writer_p.h \
    39     qvcard30writer_p.h \
    38     qvcard30writer_p.h \
    40     qversitcontactexporter_p.h \
    39     qversitcontactexporter_p.h \
    41     qversitcontactimporter_p.h \
    40     qversitcontactimporter_p.h \
    42     qversitdefs_p.h \
    41     qversitdefs_p.h \
       
    42     qversitcontactsdefs_p.h \
       
    43     qversitcontactpluginloader_p.h \
    43     versitutils_p.h
    44     versitutils_p.h
    44 
    45 
    45 # Implementation
    46 # Implementation
    46 SOURCES += qversitdocument.cpp \
    47 SOURCES += \
       
    48     qversitdocument.cpp \
    47     qversitdocument_p.cpp \
    49     qversitdocument_p.cpp \
    48     qversitdocumentwriter_p.cpp \
    50     qversitdocumentwriter_p.cpp \
    49     qversitproperty.cpp \
    51     qversitproperty.cpp \
    50     qversitreader.cpp \
    52     qversitreader.cpp \
    51     qversitreader_p.cpp \
    53     qversitreader_p.cpp \
    55     qvcard30writer.cpp \
    57     qvcard30writer.cpp \
    56     qversitcontactexporter.cpp \
    58     qversitcontactexporter.cpp \
    57     qversitcontactexporter_p.cpp \
    59     qversitcontactexporter_p.cpp \
    58     qversitcontactimporter.cpp \
    60     qversitcontactimporter.cpp \
    59     qversitcontactimporter_p.cpp \
    61     qversitcontactimporter_p.cpp \
    60     qvcardbackuphandlers_p.cpp \
       
    61     qversitresourcehandler.cpp \
    62     qversitresourcehandler.cpp \
       
    63     qversitcontacthandler.cpp \
       
    64     qversitcontactpluginloader_p.cpp \
    62     versitutils.cpp
    65     versitutils.cpp
    63 
    66 
    64 HEADERS += \
    67 HEADERS += \
    65     $$PUBLIC_HEADERS \
    68     $$PUBLIC_HEADERS \
    66     $$PRIVATE_HEADERS
    69     $$PRIVATE_HEADERS
    67 
    70 
    68 symbian { 
    71 symbian { 
    69     TARGET.UID3 = 0x2002BFBF
    72     TARGET.UID3 = 0x2002BFBF
    70     TARGET.EPOCALLOWDLLDATA = 1
    73     TARGET.EPOCALLOWDLLDATA = 1
    71     TARGET.CAPABILITY = ALL \
    74     TARGET.CAPABILITY = ALL -TCB
    72         -TCB
    75 
    73         
    76     LIBS += -lefsrv
    74     defFiles = \
    77 
    75         "$${LITERAL_HASH}ifdef WINSCW" \
    78     VERSIT_DEPLOYMENT.sources = QtVersit.dll
    76         "DEFFILE ../s60installs/bwins/$${TARGET}.def" \
    79     VERSIT_DEPLOYMENT.path = /sys/bin
    77         "$${LITERAL_HASH}elif defined EABI" \
    80     DEPLOYMENT += VERSIT_DEPLOYMENT
    78         "DEFFILE ../s60installs/eabi/$${TARGET}.def" \
       
    79         "$${LITERAL_HASH}endif "
       
    80     MMP_RULES += defFiles
       
    81 }
    81 }
    82 
    82 
    83 maemo5|maemo6 {
    83 maemo5|maemo6 {
    84     CONFIG += create_pc create_prl
    84     CONFIG += create_pc create_prl
    85     QMAKE_PKGCONFIG_DESCRIPTION = Qt Mobility - Versit API
    85     QMAKE_PKGCONFIG_DESCRIPTION = Qt Mobility - Versit API