00001 # Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 00002 # Redistribution and use in source and binary forms, with or without 00003 # modification, are permitted provided that the following conditions are met: 00004 # Redistributions of source code must retain the above copyright notice, this 00005 # list of conditions and the following disclaimer. 00006 # Redistributions in binary form must reproduce the above copyright notice, 00007 # this list of conditions and the following disclaimer in the documentation 00008 # and/or other materials provided with the distribution. 00009 # Neither the name of Nokia Corporation nor the names of its contributors 00010 # may be used to endorse or promote products derived from this software 00011 # without specific prior written permission. 00012 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00013 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00014 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00015 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 00016 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00017 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 00018 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00019 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00020 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 00021 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00022 # Description: Project file for nfc sharing example. 00023 QT += declarative 00024 00025 # Add more folders to ship with the application, here 00026 folder_01.source = qml/nfcshareappqml 00027 folder_01.target = qml 00028 DEPLOYMENTFOLDERS = folder_01 00029 HEADERS += nfcshareappqml.loc \ 00030 nfcshareexample.h 00031 SOURCES += nfcshareexample.cpp \ 00032 main.cpp 00033 BLD_INF_RULES.prj_exports += "./mycontact.vcf ../data/mycontact.vcf" \ 00034 "./dailymeeting.ics ../data/dailymeeting.ics" 00035 symbian { 00036 TARGET.UID3 = 0xEA736347 00037 TARGET.EPOCALLOWDLLDATA = 1 00038 LIBS += -lxqnfcshare 00039 myFiles.sources += mycontact.vcf \ 00040 dailymeeting.ics 00041 myFiles.path += c:/data 00042 DEPLOYMENT += myFiles 00043 00044 # To grant access to remote services in the close vicinity of the phone. 00045 TARGET.CAPABILITY = LocalServices 00046 } 00047 OTHER_FILES += mycontact.vcf \ 00048 dailymeeting.ics 00049 00050 # Please do not modify the following two lines. Required for deployment. 00051 include(qmlapplicationviewer/qmlapplicationviewer.pri) 00052 qtcAddDeployment()