hswidgetmodel/tsrc/t_hswidgetmodelexe/t_hswidgetmodelexe.pro
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     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 TEMPLATE = app
       
    18 
       
    19 CONFIG(debug, debug|release) {
       
    20   DESTDIR = debug
       
    21 }
       
    22 else {
       
    23   DESTDIR = release
       
    24 }
       
    25 
       
    26 CONFIG(debug, debug|release):DESTDIR = debug
       
    27 else:DESTDIR = release
       
    28 
       
    29 CONFIG += debug_and_release \
       
    30           console
       
    31 
       
    32 CONFIG += hb
       
    33 
       
    34 CONFIG += qtestlib
       
    35 
       
    36 QT += xml testlib
       
    37 
       
    38 
       
    39 DEFINES += HOMESCREEN_TEST \
       
    40            HSWIDGETMODEL_TEST
       
    41 
       
    42 DEPENDPATH += . \
       
    43               ./inc \
       
    44               ./src \
       
    45               ../../inc \
       
    46               ../../src
       
    47 
       
    48 INCLUDEPATH += . \
       
    49                ./inc \
       
    50                ../../inc \
       
    51                ../../../homescreensrv_plat/hswidgetmodel_api \
       
    52                ../../../inc \
       
    53                ../../../hscontentmodel/inc \
       
    54                ../../../hsutils/inc/
       
    55 
       
    56 include(t_hswidgetmodel.pri)
       
    57 
       
    58 symbian: {
       
    59     CONFIG += symbian_test
       
    60     CONFIG -= hb
       
    61     load(hb.prf)
       
    62     CONFIG -= symbian_i18n
       
    63 
       
    64     TARGET.UID3 = 0x20022F52
       
    65     TARGET.CAPABILITY = CAP_APPLICATION AllFiles
       
    66 
       
    67     export.sources = *.manifest
       
    68     export.path = /hsresources/testresources/
       
    69 
       
    70     exportBinaries.sources = testwidgetprovider.dll \
       
    71 
       
    72     testplugin.pkg_postrules = "\"../testwidgetprovider/qmakepluginstubs/testwidgetprovider.qtplugin"\""  -  ""\"!:\hsresources\testresources\plugins\widgetproviders\testwidgetprovider.qtplugin"\"
       
    73     testplugin.pkg_postrules += "\"../testwidgetprovider/resource/testwidgetprovider.manifest"\""  -  ""\"!:\hsresources\testresources\plugins\widgetproviders\testwidgetprovider.manifest"\"
       
    74 
       
    75     DEPLOYMENT += export exportBinaries testplugin
       
    76 
       
    77 }
       
    78 
       
    79 win32:include(installs_win32.pri)