messagingapp/msgutils/unidatautils/unidatamodelloader/tsrc/testunidatamodelloader/testunidatamodelloader.pro
changeset 70 a15d9966050f
child 67 fc91263aee62
equal deleted inserted replaced
61:8ba0afbb4637 70:a15d9966050f
       
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:
       
    15 #
       
    16 
       
    17 QT += testlib
       
    18 QT -= gui
       
    19 
       
    20 TEMPLATE = app
       
    21 TARGET = testunidatamodelloader
       
    22 
       
    23 CONFIG += hb
       
    24 CONFIG += symbian_test
       
    25 
       
    26 
       
    27 INCLUDEPATH += inc
       
    28 INCLUDEPATH += ../../../../../../inc
       
    29 INCLUDEPATH += ../../../../../../../inc
       
    30 INCLUDEPATH += ../../../../../../../../../../epoc32/include/platform/mw
       
    31 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    32 
       
    33 DEFINES += BUILD_TEST_DLL
       
    34 
       
    35 SOURCES += \
       
    36 	src/testunidatamodelloader.cpp
       
    37 
       
    38 				
       
    39 # Input
       
    40 HEADERS += \
       
    41 	inc/testunidatamodelloader.h
       
    42 	
       
    43 	 	   			 
       
    44    
       
    45 SYMBIAN_PLATFORMS = WINSCW ARMV5
       
    46     symbian {
       
    47     TARGET.CAPABILITY = All -TCB -DRM
       
    48     TARGET.EPOCSTACKSIZE = 0x8000
       
    49     TARGET.EPOCHEAPSIZE = 0x1000 0x1F00000
       
    50     VENDORID =  VID_DEFAULT
       
    51     BLD_INF_RULES.prj_exports += "data/SmileyFace.gif    	 c:/data/SmileyFace.gif"
       
    52     BLD_INF_RULES.prj_exports += "data/sample.txt            c:/data/sample.txt"
       
    53     }
       
    54 
       
    55 
       
    56 
       
    57 packageheader = "$${LITERAL_HASH}{\"QTestUnidataModelLoader\"},(0xEadfc3ef.),1,0,0,TYPE=SA"
       
    58 
       
    59 vendorinfo = \
       
    60 			"; Localised Vendor name" \
       
    61 			"%{\"Nokia\"}" \
       
    62 			"; Unique Vendor name" \
       
    63 			":\"Nokia\"" 
       
    64 			
       
    65 dependencyinfo = \
       
    66 				"; Default HW/platform dependencies" \
       
    67 				"[0x101F7961],0,0,0,{\"S60ProductID\"}" \
       
    68 				"[0x2001E61C],4,6,3,{"Qt"}
       
    69 				
       
    70 default_deployment.pkg_prerules =	packageheader \
       
    71 									vendorinfo \
       
    72 									dependencyinfo 
       
    73 
       
    74 
       
    75  LIBS += -leuser \
       
    76 	-lconvergedmessageutils\
       
    77 	-lmsgs \
       
    78 	-lsmcm \
       
    79 	-lgsmu \
       
    80 	-letext \
       
    81 	-lmsgs \
       
    82 	-lunidatamodelloader\
       
    83 	-lQtCore \
       
    84 	-lbioc \
       
    85 	-lefsrv \
       
    86 	-lbiodb \
       
    87      -lxqutils \
       
    88 	-lbifu
       
    89 	
       
    90 #Copy the dependent DLL
       
    91 symbian: {
       
    92 	addP1.sources = ./data/SmileyFace.gif
       
    93 	addP1.path = C:/data/
       
    94 	DEPLOYMENT += addP1
       
    95 
       
    96 	addP2.sources = ./data/sample.txt
       
    97 	addP2.path = C:/data/
       
    98 	DEPLOYMENT += addP2	
       
    99 	}
       
   100