qtmobility/tests/auto/qcontactmanagerplugins/unittest/unittest.pro
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 23 Jun 2010 19:08:38 +0300
changeset 14 6fbed849b4f4
parent 1 2b40d63a9c3d
permissions -rw-r--r--
Revision: 201023 Kit: 2010125

QT += testlib
TEMPLATE=app
TARGET=tst_qcontactmanagerplugins
CONFIG+=testcase

include(../../../../common.pri)

INCLUDEPATH += ../../../../src/contacts \
               ../../../../src/contacts/details \
               ../../../../src/contacts/requests \
               ../../../../src/contacts/filters

INCLUDEPATH += ../../

CONFIG += mobility
MOBILITY = contacts
SOURCES  += tst_qcontactmanagerplugins.cpp

TESTDLLS = \
    $$mobilityDeployFilename(contacts_testdummy) \
    $$mobilityDeployFilename(contacts_testotherdummy) \
    $$mobilityDeployFilename(contacts_testdummycopy) \
    $$mobilityDeployFilename(contacts_testdummyinvalid) \
    $$mobilityDeployFilename(contacts_testdummyempty) \
    $$mobilityDeployFilename(contacts_testdummymemory)

# App local deployment
symbian|wince* {
    symbian:QCONTACTMANAGER_PLUGINS_DEPLOY.sources = $$join(TESTDLLS, ".dll ", " ", ".dll")
    wince*:QCONTACTMANAGER_PLUGINS_DEPLOY.sources = $$join(TESTDLLS, ".dll $$OUTPUT_DIR/build/tests/bin/plugins/contacts/", "$$OUTPUT_DIR/build/tests/bin/plugins/contacts/", ".dll")
    QCONTACTMANAGER_PLUGINS_DEPLOY.path = ./plugins/contacts
    DEPLOYMENT += QCONTACTMANAGER_PLUGINS_DEPLOY
}

# all else, we need to copy and install the DLLs to the right place (in a subdir for this test)

symbian: {
    TARGET.CAPABILITY = ReadUserData \
                        WriteUserData
}